zulip/zproject
Mateusz Mandera f5a65846a8 scim: Override django-scim2 logic of exception handling in views.
As detailed in the comments, the default behavior is undesirable for us
because we can't really predict all possibilities of exceptions that may
be raised - and thus putting str(e) in the http response is potentially
insecure as it may leak some unexpected sensitive information that was
in the exception.

As a hypothetical example - KeyError resulting from some buggy
some_dict[secret_string] call would leak information. Though of course
we aim to never write code like that.
2021-10-17 21:33:03 -07:00
..
jinja2 refactor: Rename and move app_filters.py. 2021-06-11 07:43:22 -07:00
__init__.py
backends.py url_encoding: Use proper parsing for query string appending. 2021-10-14 12:47:43 -07:00
computed_settings.py auth: Add support for using SCIM for account management. 2021-10-14 12:29:10 -07:00
config.py sentry: Set environment from `machine.deploy_type` config. 2021-07-15 15:01:43 -07:00
configured_settings.py python: Sort imports with isort. 2020-06-11 16:45:32 -07:00
default_settings.py settings: Add web_public_streams_enabled server setting. 2021-09-21 10:50:53 -07:00
dev_settings.py auth: Add support for using SCIM for account management. 2021-10-14 12:29:10 -07:00
dev_urls.py typing: Fix function signatures with django-stubs. 2021-08-20 06:02:55 -07:00
email_backends.py zproject: Fix typing errors under the zproject directory. 2021-08-20 05:54:19 -07:00
legacy_urls.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00
prod_settings.pyi zproject: Add prod_settings mypy stub, aliasing prod_settings_template. 2021-07-05 09:53:41 -07:00
prod_settings_template.py ldap: Support alternative attrs to userAccountControl. 2021-09-16 13:29:13 -07:00
sentry.py request: Refactor ZulipRequestNotes to RequestNotes. 2021-09-03 08:48:45 -07:00
settings.py python: Add noqa comments for the specific star imports we allow. 2020-06-11 15:36:43 -07:00
terms.md.template docs: Capitalize Markdown consistently. 2020-08-11 10:23:06 -07:00
test_extra_settings.py auth: Add support for using SCIM for account management. 2021-10-14 12:29:10 -07:00
test_settings.py test_settings: Use TEST_EXTERNAL_HOST to override ‘testserver’ default. 2020-12-17 13:07:59 -08:00
urls.py scim: Override django-scim2 logic of exception handling in views. 2021-10-17 21:33:03 -07:00
wsgi.py python: Normalize quotes with Black. 2021-02-12 13:11:19 -08:00