--
Ticket URL: <https://code.djangoproject.com/ticket/30766>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* has_patch: 0 => 1
Old description:
> Since now we are allowing to use custom ExceptionRepoter subclass in
> #29714. We should refactor ExceptionReporter and move
> [https://github.com/django/django/blob/350123f38c2b6217c38d70bfbd924a9ba3df1289/django/views/debug.py#L319
> cookies] extraction to a function like we are doing for POST
> [https://github.com/django/django/blob/350123f38c2b6217c38d70bfbd924a9ba3df1289/django/views/debug.py#L305
> here] so that It is easy to override sensitive cookies filtering in the
> custom subclass of ExceptionRepoter.
New description:
Since now we are allowing to use custom ExceptionRepoter subclass in
#29714. We should refactor ExceptionReporter and move
[https://github.com/django/django/blob/350123f38c2b6217c38d70bfbd924a9ba3df1289/django/views/debug.py#L319
cookies] extraction to a function like we are doing for POST
[https://github.com/django/django/blob/350123f38c2b6217c38d70bfbd924a9ba3df1289/django/views/debug.py#L305
here] so that It is easy to override sensitive cookies filtering in the
custom subclass of ExceptionRepoter.
[https://github.com/django/django/pull/11748 Patch], I could add unit
tests if required.
--
--
Ticket URL: <https://code.djangoproject.com/ticket/30766#comment:1>
--
Ticket URL: <https://code.djangoproject.com/ticket/30766#comment:2>
* status: new => closed
* resolution: => invalid
--
Ticket URL: <https://code.djangoproject.com/ticket/30766#comment:3>