#26209: Hide lowercase sensitive information
---------------------------------+--------------------
     Reporter:  francoisfreitag  |      Owner:  nobody
         Type:  New feature      |     Status:  new
    Component:  Utilities        |    Version:  master
     Severity:  Normal           |   Keywords:
 Triage Stage:  Unreviewed       |  Has patch:  0
Easy pickings:  1                |      UI/UX:  0
---------------------------------+--------------------
 Django provides a `cleanse_setting` method[1] that prevents sensitive
 information from being displayed (for example with the `diffsettings`
 command).

 cleanse_settings relies on a case-sensitive regular expression,
 HIDDEN_SETTINGS [2].
 Making `HIDDEN_SETTINGS` case-insensitive would be useful to prevent
 `password` to be shown.

 1:
 
https://github.com/django/django/blob/9332497701f2c69bf0bb6d38ce59a51ca7abe78d/django/views/debug.py#L40-L62
 2:
 
https://github.com/django/django/blob/9332497701f2c69bf0bb6d38ce59a51ca7abe78d/django/views/debug.py#L22

--
Ticket URL: <https://code.djangoproject.com/ticket/26209>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

-- 
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-updates+unsubscr...@googlegroups.com.
To post to this group, send email to django-updates@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-updates/058.701a763640126be524a733dcd3b62854%40djangoproject.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to