zulip/analytics
Tim Abbott 0da1bd43e9 analytics: Remove buggy HttpResponseNotFound text.
Had this been in normal route, this would have been an XSS bug, as we
were passing what the developer clearly believed to be plain text into
an HTML 404 page.

The affected routes have @require_server_admin, a permission that we
do not expect any self-hosted users to have ever enabled (as it is
undocumented and doing so is only possible manually via a `manage.py
shell`, and we believe to only be useful for running a SaaS service
like zulip.com).  So the security impact is limited to a handful of
staff of zulip.com and this isn't a candidate for a CVE.

Thanks to GitHub's CodeQL for finding this.
2021-03-18 12:16:15 -07:00
..
lib python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
management tests: Use do_create_realm where possible. 2021-03-14 08:50:02 -07:00
migrations python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
tests tests: Use do_create_realm where possible. 2021-03-14 08:50:02 -07:00
__init__.py Create "analytics" app with activity reports. 2013-11-06 12:07:32 -05:00
models.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
urls.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
views.py analytics: Remove buggy HttpResponseNotFound text. 2021-03-18 12:16:15 -07:00