For instance it will fail to sanitize the following example:
`SOME_SETTING = {1: {'login': 'cooper', 'password': 'secret'}}`
The reason for this is that `cleanse_setting` starts by trying to apply a
the `hidden_settings` regex to the key before attempting to recurse into
the value:
--
Ticket URL: <https://code.djangoproject.com/ticket/31942>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
* owner: (none) => Jeremy Lainé
* status: new => assigned
* has_patch: 0 => 1
Comment:
Here is a PR for this issue https://github.com/django/django/pull/13347
--
Ticket URL: <https://code.djangoproject.com/ticket/31942#comment:1>
* type: Uncategorized => Cleanup/optimization
* stage: Unreviewed => Accepted
Comment:
#31451
--
Ticket URL: <https://code.djangoproject.com/ticket/31942#comment:2>
* needs_better_patch: 0 => 1
--
Ticket URL: <https://code.djangoproject.com/ticket/31942#comment:3>
* needs_better_patch: 1 => 0
* stage: Accepted => Ready for checkin
--
Ticket URL: <https://code.djangoproject.com/ticket/31942#comment:4>
* status: assigned => closed
* resolution: => fixed
Comment:
In [changeset:"9c92924cd5d164701e2514e1c2d6574126bd7cc2" 9c92924c]:
{{{
#!CommitTicketReference repository=""
revision="9c92924cd5d164701e2514e1c2d6574126bd7cc2"
Fixed #31942 -- Made settings cleansing work with dictionary settings with
non-string keys.
}}}
--
Ticket URL: <https://code.djangoproject.com/ticket/31942#comment:5>