Ticket #13624: add_signature_hiding_to_docs.diff

File add_signature_hiding_to_docs.diff, 873 bytes (added by erikr, 5 years ago)
  • docs/ref/settings.txt

     
    494494
    495495If you define custom settings, `django/views/debug.py`_ has a ``HIDDEN_SETTINGS``
    496496regular expression which will hide from the DEBUG view anything that contains
    497 ``'SECRET'``, ``'PASSWORD'``, or ``'PROFANITIES'``. This allows untrusted users to
    498 be able to give backtraces without seeing sensitive (or offensive) settings.
     497``'SECRET'``, ``'PASSWORD'``, ``'PROFANITIES'``, or ``'SIGNATURE'``. This allows
     498untrusted users to be able to give backtraces without seeing sensitive (or
     499offensive) settings.
    499500
    500501Still, note that there are always going to be sections of your debug output that
    501502are inappropriate for public consumption. File paths, configuration options, and
Back to Top