forked from django/django
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path1.6.11.2.txt
22 lines (16 loc) · 879 Bytes
/
1.6.11.2.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
=============================
Django 1.6.11.2 release notes
=============================
*November 24, 2015*
Django 1.6.11.2 fixes one security issue. It corresponds to the
Django 1.7.11, 1.8.7, and 1.9 RC 2 releases.
Fixed settings leak possibility in ``date`` template filter
===========================================================
If an application allows users to specify an unvalidated format for dates and
passes this format to the :tfilter:`date` filter, e.g.
``{{ last_updated|date:user_date_format }}``, then a malicious user could
obtain any secret in the application's settings by specifying a settings key
instead of a date format. e.g. ``"SECRET_KEY"`` instead of ``"j/m/Y"``.
To remedy this, the underlying function used by the ``date`` template filter,
``django.utils.formats.get_format()``, now only allows accessing the date/time
formatting settings.