2014-05-16 18:19:23 -04:00
|
|
|
==========================
|
|
|
|
Django 1.6.6 release notes
|
|
|
|
==========================
|
|
|
|
|
|
|
|
*Under development*
|
|
|
|
|
2014-08-05 15:20:05 -04:00
|
|
|
Django 1.6.6 fixes several security issues and bugs in 1.6.5.
|
2014-05-16 18:19:23 -04:00
|
|
|
|
2014-07-17 21:59:28 +02:00
|
|
|
:func:`~django.core.urlresolvers.reverse()` could generate URLs pointing to other hosts
|
|
|
|
=======================================================================================
|
|
|
|
|
|
|
|
In certain situations, URL reversing could generate scheme-relative URLs (URLs
|
|
|
|
starting with two slashes), which could unexpectedly redirect a user to a
|
|
|
|
different host. An attacker could exploit this, for example, by redirecting
|
|
|
|
users to a phishing site designed to ask for user's passwords.
|
|
|
|
|
|
|
|
To remedy this, URL reversing now ensures that no URL starts with two slashes
|
|
|
|
(//), replacing the second slash with its URL encoded counterpart (%2F). This
|
|
|
|
approach ensures that semantics stay the same, while making the URL relative to
|
|
|
|
the domain and not to the scheme.
|
|
|
|
|
2014-05-16 18:19:23 -04:00
|
|
|
Bugfixes
|
|
|
|
========
|
|
|
|
|
|
|
|
* Corrected email and URL validation to reject a trailing dash
|
2014-08-19 10:22:51 -04:00
|
|
|
(:ticket:`22579`).
|
2014-06-20 18:47:14 -04:00
|
|
|
|
2014-08-19 10:22:51 -04:00
|
|
|
* Prevented indexes on PostgreSQL virtual fields (:ticket:`22514`).
|
2014-07-16 13:34:53 -04:00
|
|
|
|
|
|
|
* Prevented edge case where values of FK fields could be initialized with a
|
|
|
|
wrong value when an inline model formset is created for a relationship
|
2014-08-19 10:22:51 -04:00
|
|
|
defined to point to a field other than the PK (:ticket:`13794`).
|
2014-07-16 13:34:53 -04:00
|
|
|
|
|
|
|
* Restored ``pre_delete`` signals for ``GenericRelation`` cascade deletion
|
2014-08-19 10:22:51 -04:00
|
|
|
(:ticket:`22998`).
|
2014-03-21 18:48:57 +01:00
|
|
|
|
|
|
|
* Fixed transaction handling when specifying non-default database in
|
2014-08-19 10:22:51 -04:00
|
|
|
``createcachetable`` and ``flush`` (:ticket:`23089`).
|
2014-07-29 09:39:19 -04:00
|
|
|
|
|
|
|
* Fixed the "ORA-01843: not a valid month" errors when using Unicode
|
2014-08-19 10:22:51 -04:00
|
|
|
with older versions of Oracle server (:ticket:`20292`).
|
2014-07-30 09:33:02 -04:00
|
|
|
|
|
|
|
* Restored bug fix for sending unicode email with Python 2.6.5 and below
|
2014-08-19 10:22:51 -04:00
|
|
|
(:ticket:`19107`).
|
2014-08-14 11:56:25 +02:00
|
|
|
|
|
|
|
* Prevented ``UnicodeDecodeError`` in ``runserver`` with non-UTF-8 and
|
2014-08-19 10:22:51 -04:00
|
|
|
non-English locale (:ticket:`23265`).
|
2014-08-15 10:11:53 +02:00
|
|
|
|
|
|
|
* Fixed JavaScript errors while editing multi-geometry objects in the OpenLayers
|
2014-08-19 10:22:51 -04:00
|
|
|
widget (:ticket:`23137`, :ticket:`23293`).
|
2014-07-12 19:37:59 +02:00
|
|
|
|
|
|
|
* Prevented a crash on Python 3 with query strings containing unencoded
|
2014-08-19 10:22:51 -04:00
|
|
|
non-ASCII characters (:ticket:`22996`).
|