mirror of
https://github.com/django/django.git
synced 2025-11-25 05:04:26 +00:00
Fixed #35646 -- Extended SafeExceptionReporterFilter.hidden_settings to treat AUTH as a sensitive match.
Co-authored-by: Natalia <124304+nessita@users.noreply.github.com>
This commit is contained in:
parent
615c80aba6
commit
aa90795050
4 changed files with 11 additions and 4 deletions
|
|
@ -282,7 +282,11 @@ following attributes and methods:
|
|||
|
||||
import re
|
||||
|
||||
re.compile(r"API|TOKEN|KEY|SECRET|PASS|SIGNATURE|HTTP_COOKIE", flags=re.IGNORECASE)
|
||||
re.compile(r"API|AUTH|TOKEN|KEY|SECRET|PASS|SIGNATURE|HTTP_COOKIE", flags=re.IGNORECASE)
|
||||
|
||||
.. versionchanged:: 5.2
|
||||
|
||||
The term ``AUTH`` was added.
|
||||
|
||||
.. method:: is_active(request)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue