diff options
| author | François Freitag <francois.freitag@polyconseil.fr> | 2016-02-11 13:23:18 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2016-02-11 18:13:03 -0500 |
| commit | 16a88b4429eb237cf3f7df6526c072efb72dbed1 (patch) | |
| tree | 8b28b62bfecde324b2aef7db7037eb3f0a669ac7 /django | |
| parent | 926d41f0e74cc7578d71cfe12a970c9309bddfbc (diff) | |
Fixed #26209 -- Masked sensitive settings in debug reports regardless of case.
Diffstat (limited to 'django')
| -rw-r--r-- | django/views/debug.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/django/views/debug.py b/django/views/debug.py index 70ee452abb..4445990c74 100644 --- a/django/views/debug.py +++ b/django/views/debug.py @@ -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 = '********************' |
