mirror of https://github.com/zulip/zulip.git
5614d51afc
The overall goal of this change is to fix an issue where on Ubuntu Trusty, we were accidentally overriding the configuration to serve uploads from disk with the regular expressions for adding access control headers. However, while investigating this, it became clear that we could considerably simplify the mental energy required to understand this system by making the uploads-route file be unconditionally available and included from `zulip-include/app` (which means the zulip_ops code can share behavior here). We also move the Access-Control-Allow-* headers to a separate include file, to avoid duplicating it in 5 places. Fixing this duplication discovered a potential bug in the settings used for Tornado, where DELETE was not allowed on a route that definitely expects DELETE. Fixes #11758. |
||
---|---|---|
.. | ||
zulip | ||
zulip_ops |