mirror of
https://github.com/django/django.git
synced 2025-10-25 14:46:09 +00:00
Fixed #26209 -- Masked sensitive settings in debug reports regardless of case.
This commit is contained in:
committed by
Tim Graham
parent
926d41f0e7
commit
16a88b4429
@@ -19,7 +19,7 @@ from django.utils.translation import ugettext as _
|
||||
# regardless of the project's TEMPLATES setting.
|
||||
DEBUG_ENGINE = Engine(debug=True)
|
||||
|
||||
HIDDEN_SETTINGS = re.compile('API|TOKEN|KEY|SECRET|PASS|SIGNATURE')
|
||||
HIDDEN_SETTINGS = re.compile('API|TOKEN|KEY|SECRET|PASS|SIGNATURE', flags=re.IGNORECASE)
|
||||
|
||||
CLEANSED_SUBSTITUTE = '********************'
|
||||
|
||||
|
||||
Reference in New Issue
Block a user