diff options
| author | Florian Apolloner <florian@apolloner.eu> | 2015-11-11 20:10:55 +0100 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-11-24 12:04:55 -0500 |
| commit | 3ebbda0aef9e7a90ac6208bb8f9bc21228e2c7da (patch) | |
| tree | d5ca8e7c58101e33c13b4a27c78a94b9901cd26a /tests | |
| parent | 11d54e8f0da96d355b8dff17af8d5aa6bb3386db (diff) | |
[1.9.x] Fixed a settings leak possibility in the date template filter.
This is a security fix.
Diffstat (limited to 'tests')
| -rw-r--r-- | tests/i18n/tests.py | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/tests/i18n/tests.py b/tests/i18n/tests.py index 0307c99126..db16eaf5e2 100644 --- a/tests/i18n/tests.py +++ b/tests/i18n/tests.py @@ -1245,6 +1245,9 @@ class FormattingTests(SimpleTestCase): '<input id="id_cents_paid" name="cents_paid" type="hidden" value="59,47" />' ) + def test_format_arbitrary_settings(self): + self.assertEqual(get_format('DEBUG'), 'DEBUG') + class MiscTests(SimpleTestCase): |
