#29863: Allow configuration/customization of sensitive settings sanitization for
error emails
-------------------------------------------+------------------------
Reporter: Daniel Harding | Owner: (none)
Type: New feature | Status: new
Component: Error reporting | Version: 2.1
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Needs documentation: 0 | Needs tests: 0
Patch needs improvement: 0 | Easy pickings: 0
UI/UX: 0 |
-------------------------------------------+------------------------
This request is possibly related to #29714. Our codebase uses custom
settings, some of which contain sensitive information which should not
appear in error emails, but are not filtered out by Django's default
settings sanitization. Django does not currently expose a way to
customize which settings get sanitized before being added to error emails.
Right now I am able to work around this by monkey-patching the
`HIDDEN_SETTINGS` regex in `django.views.debug`, but it would be nicer if
there were an officially supported way to modify the settings sanitization
process.
--
Ticket URL: <https://code.djangoproject.com/ticket/29863>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--
You received this message because you are subscribed to the Google Groups
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To post to this group, send email to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-updates/052.2cfe122a58442d8dc9427d69c525d9e2%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.