#23004: Cleanse entries from request.META in debug views
---------------------------------+-----------------------------------------
Reporter: Daniel Hahler | Owner: Daniel Maxson
Type: New feature | Status: assigned
Component: Error reporting | Version: master
Severity: Normal | Resolution:
Keywords: | Triage Stage: Accepted
Has patch: 1 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0
Easy pickings: 0 | UI/UX: 0
---------------------------------+-----------------------------------------
Comment (by Carlton Gibson):
OK... Right...
First off, thank you everybody for input on this (and related tickets).
I say "and related tickets" because this kind of thing keeps coming up.
(e.g. #23951 but others) ''Can we filter this?'', ''Can we filter that?'',
and so on.
#29714 suggests making having a custom `ExceptionReporter` easier. In this
case you'd just override `get_traceback_data()` and job done. I'm hoping
to get that in.
There was [https://code.djangoproject.com/ticket/25167#comment:1 an idea
to get rid of the exception filter as the extension point] but I think
that's too quick for now. **As such**, I'd like to go for the more
ambitious of the two approaches here. I think
[https://code.djangoproject.com/ticket/23004#comment:2 Tim's original
comment, way back when] was the right one in terms of providing the right
flexibility without us having to add hooks for every possible use-case.
On that basis, I'm going to close Markus' PR (Thank you again Markus) and
then have one final look... I hope that makes sense.
> ...especially considering that this is a DEBUG=True.
It's not. `ExceptionReporter` is used `AdminEmailHandler` at the least.
--
Ticket URL: <https://code.djangoproject.com/ticket/23004#comment:29>
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/065.69182feae0406853aadd5fae312836cf%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.