Ticket #17460: django-17460-hidden_settings.patch
File django-17460-hidden_settings.patch, 509 bytes (added by , 13 years ago) |
---|
-
django/views/debug.py
diff -r 5cd5507b3508 django/views/debug.py
a b 14 14 from django.utils.importlib import import_module 15 15 from django.utils.encoding import smart_unicode, smart_str 16 16 17 HIDDEN_SETTINGS = re.compile(' SECRET|PASSWORD|PROFANITIES_LIST|SIGNATURE')17 HIDDEN_SETTINGS = re.compile('TOKEN|PASS|KEY|SECRET|PASSWORD|PROFANITIES_LIST|SIGNATURE') 18 18 19 19 CLEANSED_SUBSTITUTE = u'********************' 20 20