Add files using upload-large-folder tool
Browse files- testbed/django__django/docs/releases/1.8.17.txt +14 -0
- testbed/django__django/docs/releases/1.8.9.txt +39 -0
- testbed/django__django/docs/releases/1.9.13.txt +37 -0
- testbed/django__django/docs/releases/1.9.3.txt +107 -0
- testbed/django__django/docs/releases/1.9.6.txt +32 -0
- testbed/django__django/docs/releases/1.9.9.txt +15 -0
- testbed/django__django/docs/releases/2.0.10.txt +32 -0
- testbed/django__django/docs/releases/2.0.11.txt +18 -0
- testbed/django__django/docs/releases/2.0.12.txt +12 -0
- testbed/django__django/docs/releases/2.0.13.txt +13 -0
- testbed/django__django/docs/releases/2.0.2.txt +51 -0
- testbed/django__django/docs/releases/2.0.3.txt +56 -0
- testbed/django__django/docs/releases/2.0.4.txt +34 -0
- testbed/django__django/docs/releases/2.0.6.txt +25 -0
- testbed/django__django/docs/releases/2.0.7.txt +21 -0
- testbed/django__django/docs/releases/2.0.8.txt +29 -0
- testbed/django__django/docs/releases/2.0.9.txt +13 -0
- testbed/django__django/docs/releases/2.1.1.txt +51 -0
- testbed/django__django/docs/releases/2.1.11.txt +57 -0
- testbed/django__django/docs/releases/2.1.13.txt +14 -0
testbed/django__django/docs/releases/1.8.17.txt
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
===========================
|
| 2 |
+
Django 1.8.17 release notes
|
| 3 |
+
===========================
|
| 4 |
+
|
| 5 |
+
*December 1, 2016*
|
| 6 |
+
|
| 7 |
+
Django 1.8.17 fixes a regression in 1.8.16.
|
| 8 |
+
|
| 9 |
+
Bugfixes
|
| 10 |
+
========
|
| 11 |
+
|
| 12 |
+
* Quoted the Oracle test user's password in queries to fix the "ORA-00922:
|
| 13 |
+
missing or invalid option" error when the password starts with a number or
|
| 14 |
+
special character (:ticket:`27420`).
|
testbed/django__django/docs/releases/1.8.9.txt
ADDED
|
@@ -0,0 +1,39 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
==========================
|
| 2 |
+
Django 1.8.9 release notes
|
| 3 |
+
==========================
|
| 4 |
+
|
| 5 |
+
*February 1, 2016*
|
| 6 |
+
|
| 7 |
+
Django 1.8.9 fixes several bugs in 1.8.8.
|
| 8 |
+
|
| 9 |
+
Bugfixes
|
| 10 |
+
========
|
| 11 |
+
|
| 12 |
+
* Fixed a regression that caused the "user-tools" items to display on the
|
| 13 |
+
admin's logout page (:ticket:`26035`).
|
| 14 |
+
|
| 15 |
+
* Fixed a crash in the translations system when the current language has no
|
| 16 |
+
translations (:ticket:`26046`).
|
| 17 |
+
|
| 18 |
+
* Fixed a regression that caused the incorrect day to be selected when opening
|
| 19 |
+
the admin calendar widget for timezones from GMT+0100 to GMT+1200
|
| 20 |
+
(:ticket:`24980`).
|
| 21 |
+
|
| 22 |
+
* Fixed a regression in 1.8.8 causing incorrect index handling in migrations on
|
| 23 |
+
PostgreSQL when adding ``db_index=True`` or ``unique=True`` to a
|
| 24 |
+
``CharField`` or ``TextField`` that already had the other specified, or when
|
| 25 |
+
removing one of them from a field that had both, or when adding
|
| 26 |
+
``unique=True`` to a field already listed in ``unique_together``
|
| 27 |
+
(:ticket:`26034`).
|
| 28 |
+
|
| 29 |
+
* Fixed a crash when using an ``__in`` lookup inside a ``Case`` expression
|
| 30 |
+
(:ticket:`26071`).
|
| 31 |
+
|
| 32 |
+
* Fixed a crash when using a reverse ``OneToOneField`` in
|
| 33 |
+
``ModelAdmin.readonly_fields`` (:ticket:`26060`).
|
| 34 |
+
|
| 35 |
+
* Fixed a regression in Django 1.8.5 that broke copying a ``SimpleLazyObject``
|
| 36 |
+
with ``copy.copy()`` (:ticket:`26122`).
|
| 37 |
+
|
| 38 |
+
* Fixed the ``contrib.gis`` map widgets when using
|
| 39 |
+
``USE_THOUSAND_SEPARATOR=True`` (:ticket:`20415`).
|
testbed/django__django/docs/releases/1.9.13.txt
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
===========================
|
| 2 |
+
Django 1.9.13 release notes
|
| 3 |
+
===========================
|
| 4 |
+
|
| 5 |
+
*April 4, 2017*
|
| 6 |
+
|
| 7 |
+
Django 1.9.13 fixes two security issues and a bug in 1.9.12. This is the final
|
| 8 |
+
release of the 1.9.x series.
|
| 9 |
+
|
| 10 |
+
CVE-2017-7233: Open redirect and possible XSS attack via user-supplied numeric redirect URLs
|
| 11 |
+
============================================================================================
|
| 12 |
+
|
| 13 |
+
Django relies on user input in some cases (e.g.
|
| 14 |
+
``django.contrib.auth.views.login()`` and :doc:`i18n </topics/i18n/index>`)
|
| 15 |
+
to redirect the user to an "on success" URL. The security check for these
|
| 16 |
+
redirects (namely ``django.utils.http.is_safe_url()``) considered some numeric
|
| 17 |
+
URLs (e.g. ``http:999999999``) "safe" when they shouldn't be.
|
| 18 |
+
|
| 19 |
+
Also, if a developer relies on ``is_safe_url()`` to provide safe redirect
|
| 20 |
+
targets and puts such a URL into a link, they could suffer from an XSS attack.
|
| 21 |
+
|
| 22 |
+
CVE-2017-7234: Open redirect vulnerability in ``django.views.static.serve()``
|
| 23 |
+
=============================================================================
|
| 24 |
+
|
| 25 |
+
A maliciously crafted URL to a Django site using the
|
| 26 |
+
:func:`~django.views.static.serve` view could redirect to any other domain. The
|
| 27 |
+
view no longer does any redirects as they don't provide any known, useful
|
| 28 |
+
functionality.
|
| 29 |
+
|
| 30 |
+
Note, however, that this view has always carried a warning that it is not
|
| 31 |
+
hardened for production use and should be used only as a development aid.
|
| 32 |
+
|
| 33 |
+
Bugfixes
|
| 34 |
+
========
|
| 35 |
+
|
| 36 |
+
* Fixed a regression in the ``timesince`` and ``timeuntil`` filters that caused
|
| 37 |
+
incorrect results for dates in a leap year (:ticket:`27637`).
|
testbed/django__django/docs/releases/1.9.3.txt
ADDED
|
@@ -0,0 +1,107 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
==========================
|
| 2 |
+
Django 1.9.3 release notes
|
| 3 |
+
==========================
|
| 4 |
+
|
| 5 |
+
*March 1, 2016*
|
| 6 |
+
|
| 7 |
+
Django 1.9.3 fixes two security issues and several bugs in 1.9.2.
|
| 8 |
+
|
| 9 |
+
CVE-2016-2512: Malicious redirect and possible XSS attack via user-supplied redirect URLs containing basic auth
|
| 10 |
+
===============================================================================================================
|
| 11 |
+
|
| 12 |
+
Django relies on user input in some cases (e.g.
|
| 13 |
+
``django.contrib.auth.views.login()`` and :doc:`i18n </topics/i18n/index>`)
|
| 14 |
+
to redirect the user to an "on success" URL. The security check for these
|
| 15 |
+
redirects (namely ``django.utils.http.is_safe_url()``) considered some URLs
|
| 16 |
+
with basic authentication credentials "safe" when they shouldn't be.
|
| 17 |
+
|
| 18 |
+
For example, a URL like ``http://mysite.example.com\@attacker.com`` would be
|
| 19 |
+
considered safe if the request's host is ``http://mysite.example.com``, but
|
| 20 |
+
redirecting to this URL sends the user to ``attacker.com``.
|
| 21 |
+
|
| 22 |
+
Also, if a developer relies on ``is_safe_url()`` to provide safe redirect
|
| 23 |
+
targets and puts such a URL into a link, they could suffer from an XSS attack.
|
| 24 |
+
|
| 25 |
+
CVE-2016-2513: User enumeration through timing difference on password hasher work factor upgrade
|
| 26 |
+
================================================================================================
|
| 27 |
+
|
| 28 |
+
In each major version of Django since 1.6, the default number of iterations for
|
| 29 |
+
the ``PBKDF2PasswordHasher`` and its subclasses has increased. This improves
|
| 30 |
+
the security of the password as the speed of hardware increases, however, it
|
| 31 |
+
also creates a timing difference between a login request for a user with a
|
| 32 |
+
password encoded in an older number of iterations and login request for a
|
| 33 |
+
nonexistent user (which runs the default hasher's default number of iterations
|
| 34 |
+
since Django 1.6).
|
| 35 |
+
|
| 36 |
+
This only affects users who haven't logged in since the iterations were
|
| 37 |
+
increased. The first time a user logs in after an iterations increase, their
|
| 38 |
+
password is updated with the new iterations and there is no longer a timing
|
| 39 |
+
difference.
|
| 40 |
+
|
| 41 |
+
The new ``BasePasswordHasher.harden_runtime()`` method allows hashers to bridge
|
| 42 |
+
the runtime gap between the work factor (e.g. iterations) supplied in existing
|
| 43 |
+
encoded passwords and the default work factor of the hasher. This method
|
| 44 |
+
is implemented for ``PBKDF2PasswordHasher`` and ``BCryptPasswordHasher``.
|
| 45 |
+
The number of rounds for the latter hasher hasn't changed since Django 1.4, but
|
| 46 |
+
some projects may subclass it and increase the work factor as needed.
|
| 47 |
+
|
| 48 |
+
A warning will be emitted for any :ref:`third-party password hashers that don't
|
| 49 |
+
implement <write-your-own-password-hasher>` a ``harden_runtime()`` method.
|
| 50 |
+
|
| 51 |
+
If you have different password hashes in your database (such as SHA1 hashes
|
| 52 |
+
from users who haven't logged in since the default hasher switched to PBKDF2
|
| 53 |
+
in Django 1.4), the timing difference on a login request for these users may be
|
| 54 |
+
even greater and this fix doesn't remedy that difference (or any difference
|
| 55 |
+
when changing hashers). You may be able to :ref:`upgrade those hashes
|
| 56 |
+
<wrapping-password-hashers>` to prevent a timing attack for that case.
|
| 57 |
+
|
| 58 |
+
Bugfixes
|
| 59 |
+
========
|
| 60 |
+
|
| 61 |
+
* Skipped URL checks (new in 1.9) if the ``ROOT_URLCONF`` setting isn't defined
|
| 62 |
+
(:ticket:`26155`).
|
| 63 |
+
|
| 64 |
+
* Fixed a crash on PostgreSQL that prevented using ``TIME_ZONE=None`` and
|
| 65 |
+
``USE_TZ=False`` (:ticket:`26177`).
|
| 66 |
+
|
| 67 |
+
* Added system checks for query name clashes of hidden relationships
|
| 68 |
+
(:ticket:`26162`).
|
| 69 |
+
|
| 70 |
+
* Fixed a regression for cases where
|
| 71 |
+
``ForeignObject.get_extra_descriptor_filter()`` returned a ``Q`` object
|
| 72 |
+
(:ticket:`26153`).
|
| 73 |
+
|
| 74 |
+
* Fixed regression with an ``__in=qs`` lookup for a ``ForeignKey`` with
|
| 75 |
+
``to_field`` set (:ticket:`26196`).
|
| 76 |
+
|
| 77 |
+
* Made ``forms.FileField`` and ``utils.translation.lazy_number()`` picklable
|
| 78 |
+
(:ticket:`26212`).
|
| 79 |
+
|
| 80 |
+
* Fixed :class:`~django.contrib.postgres.fields.RangeField` and
|
| 81 |
+
:class:`~django.contrib.postgres.fields.ArrayField` serialization with
|
| 82 |
+
``None`` values (:ticket:`26215`).
|
| 83 |
+
|
| 84 |
+
* Fixed a crash when filtering by a ``Decimal`` in ``RawQuery``
|
| 85 |
+
(:ticket:`26219`).
|
| 86 |
+
|
| 87 |
+
* Reallowed dashes in top-level domain names of URLs checked by
|
| 88 |
+
``URLValidator`` to fix a regression in Django 1.8 (:ticket:`26204`).
|
| 89 |
+
|
| 90 |
+
* Fixed some crashing deprecation shims in ``SimpleTemplateResponse`` that
|
| 91 |
+
regressed in Django 1.9 (:ticket:`26253`).
|
| 92 |
+
|
| 93 |
+
* Fixed ``BoundField`` to reallow slices of subwidgets (:ticket:`26267`).
|
| 94 |
+
|
| 95 |
+
* Changed the admin's "permission denied" message in the login template to use
|
| 96 |
+
``get_username`` instead of ``username`` to support custom user models
|
| 97 |
+
(:ticket:`26231`).
|
| 98 |
+
|
| 99 |
+
* Fixed a crash when passing a nonexistent template name to the cached template
|
| 100 |
+
loader's ``load_template()`` method (:ticket:`26280`).
|
| 101 |
+
|
| 102 |
+
* Prevented ``ContentTypeManager`` instances from sharing their cache
|
| 103 |
+
(:ticket:`26286`).
|
| 104 |
+
|
| 105 |
+
* Reverted a change in Django 1.9.2 (:ticket:`25858`) that prevented relative
|
| 106 |
+
lazy relationships defined on abstract models to be resolved according to
|
| 107 |
+
their concrete model's ``app_label`` (:ticket:`26186`).
|
testbed/django__django/docs/releases/1.9.6.txt
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
==========================
|
| 2 |
+
Django 1.9.6 release notes
|
| 3 |
+
==========================
|
| 4 |
+
|
| 5 |
+
*May 2, 2016*
|
| 6 |
+
|
| 7 |
+
Django 1.9.6 fixes several bugs in 1.9.5.
|
| 8 |
+
|
| 9 |
+
Bugfixes
|
| 10 |
+
========
|
| 11 |
+
|
| 12 |
+
* Added support for relative path redirects to the test client and to
|
| 13 |
+
``SimpleTestCase.assertRedirects()`` because Django 1.9 no longer converts
|
| 14 |
+
redirects to absolute URIs (:ticket:`26428`).
|
| 15 |
+
|
| 16 |
+
* Fixed ``TimeField`` microseconds round-tripping on MySQL and SQLite
|
| 17 |
+
(:ticket:`26498`).
|
| 18 |
+
|
| 19 |
+
* Prevented ``makemigrations`` from generating infinite migrations for a model
|
| 20 |
+
field that references a ``functools.partial`` (:ticket:`26475`).
|
| 21 |
+
|
| 22 |
+
* Fixed a regression where ``SessionBase.pop()`` returned ``None`` rather than
|
| 23 |
+
raising a ``KeyError`` for nonexistent values (:ticket:`26520`).
|
| 24 |
+
|
| 25 |
+
* Fixed a regression causing the cached template loader to crash when using
|
| 26 |
+
template names starting with a dash (:ticket:`26536`).
|
| 27 |
+
|
| 28 |
+
* Restored conversion of an empty string to null when saving values of
|
| 29 |
+
``GenericIPAddressField`` on SQLite and MySQL (:ticket:`26557`).
|
| 30 |
+
|
| 31 |
+
* Fixed a ``makemessages`` regression where temporary ``.py`` extensions were
|
| 32 |
+
leaked in source file paths (:ticket:`26341`).
|
testbed/django__django/docs/releases/1.9.9.txt
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
==========================
|
| 2 |
+
Django 1.9.9 release notes
|
| 3 |
+
==========================
|
| 4 |
+
|
| 5 |
+
*August 1, 2016*
|
| 6 |
+
|
| 7 |
+
Django 1.9.9 fixes several bugs in 1.9.8.
|
| 8 |
+
|
| 9 |
+
Bugfixes
|
| 10 |
+
========
|
| 11 |
+
|
| 12 |
+
* Fixed invalid HTML in template postmortem on the debug page
|
| 13 |
+
(:ticket:`26938`).
|
| 14 |
+
|
| 15 |
+
* Fixed some GIS database function crashes on MySQL 5.7 (:ticket:`26657`).
|
testbed/django__django/docs/releases/2.0.10.txt
ADDED
|
@@ -0,0 +1,32 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
===========================
|
| 2 |
+
Django 2.0.10 release notes
|
| 3 |
+
===========================
|
| 4 |
+
|
| 5 |
+
*January 4, 2019*
|
| 6 |
+
|
| 7 |
+
Django 2.0.10 fixes a security issue and several bugs in 2.0.9.
|
| 8 |
+
|
| 9 |
+
CVE-2019-3498: Content spoofing possibility in the default 404 page
|
| 10 |
+
-------------------------------------------------------------------
|
| 11 |
+
|
| 12 |
+
An attacker could craft a malicious URL that could make spoofed content appear
|
| 13 |
+
on the default page generated by the ``django.views.defaults.page_not_found()``
|
| 14 |
+
view.
|
| 15 |
+
|
| 16 |
+
The URL path is no longer displayed in the default 404 template and the
|
| 17 |
+
``request_path`` context variable is now quoted to fix the issue for custom
|
| 18 |
+
templates that use the path.
|
| 19 |
+
|
| 20 |
+
Bugfixes
|
| 21 |
+
========
|
| 22 |
+
|
| 23 |
+
* Prevented repetitive calls to ``geos_version_tuple()`` in the ``WKBWriter``
|
| 24 |
+
class in an attempt to fix a random crash involving ``LooseVersion`` since
|
| 25 |
+
Django 2.0.6 (:ticket:`29959`).
|
| 26 |
+
|
| 27 |
+
* Fixed a schema corruption issue on SQLite 3.26+. You might have to drop and
|
| 28 |
+
rebuild your SQLite database if you applied a migration while using an older
|
| 29 |
+
version of Django with SQLite 3.26 or later (:ticket:`29182`).
|
| 30 |
+
|
| 31 |
+
* Prevented SQLite schema alterations while foreign key checks are enabled to
|
| 32 |
+
avoid the possibility of schema corruption (:ticket:`30023`).
|
testbed/django__django/docs/releases/2.0.11.txt
ADDED
|
@@ -0,0 +1,18 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
===========================
|
| 2 |
+
Django 2.0.11 release notes
|
| 3 |
+
===========================
|
| 4 |
+
|
| 5 |
+
*February 11, 2019*
|
| 6 |
+
|
| 7 |
+
Django 2.0.11 fixes a security issue in 2.0.10.
|
| 8 |
+
|
| 9 |
+
CVE-2019-6975: Memory exhaustion in ``django.utils.numberformat.format()``
|
| 10 |
+
--------------------------------------------------------------------------
|
| 11 |
+
|
| 12 |
+
If ``django.utils.numberformat.format()`` -- used by ``contrib.admin`` as well
|
| 13 |
+
as the ``floatformat``, ``filesizeformat``, and ``intcomma`` templates filters
|
| 14 |
+
-- received a ``Decimal`` with a large number of digits or a large exponent, it
|
| 15 |
+
could lead to significant memory usage due to a call to ``'{:f}'.format()``.
|
| 16 |
+
|
| 17 |
+
To avoid this, decimals with more than 200 digits are now formatted using
|
| 18 |
+
scientific notation.
|
testbed/django__django/docs/releases/2.0.12.txt
ADDED
|
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
===========================
|
| 2 |
+
Django 2.0.12 release notes
|
| 3 |
+
===========================
|
| 4 |
+
|
| 5 |
+
*February 11, 2019*
|
| 6 |
+
|
| 7 |
+
Django 2.0.12 fixes a packaging error in 2.0.11.
|
| 8 |
+
|
| 9 |
+
Bugfixes
|
| 10 |
+
========
|
| 11 |
+
|
| 12 |
+
* Corrected packaging error from 2.0.11 (:ticket:`30175`).
|
testbed/django__django/docs/releases/2.0.13.txt
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
===========================
|
| 2 |
+
Django 2.0.13 release notes
|
| 3 |
+
===========================
|
| 4 |
+
|
| 5 |
+
*February 12, 2019*
|
| 6 |
+
|
| 7 |
+
Django 2.0.13 fixes a regression in 2.0.12/2.0.11.
|
| 8 |
+
|
| 9 |
+
Bugfixes
|
| 10 |
+
========
|
| 11 |
+
|
| 12 |
+
* Fixed crash in ``django.utils.numberformat.format_number()`` when the number
|
| 13 |
+
has over 200 digits (:ticket:`30177`).
|
testbed/django__django/docs/releases/2.0.2.txt
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
==========================
|
| 2 |
+
Django 2.0.2 release notes
|
| 3 |
+
==========================
|
| 4 |
+
|
| 5 |
+
*February 1, 2018*
|
| 6 |
+
|
| 7 |
+
Django 2.0.2 fixes a security issue and several bugs in 2.0.1.
|
| 8 |
+
|
| 9 |
+
CVE-2018-6188: Information leakage in ``AuthenticationForm``
|
| 10 |
+
============================================================
|
| 11 |
+
|
| 12 |
+
A regression in Django 1.11.8 made
|
| 13 |
+
:class:`~django.contrib.auth.forms.AuthenticationForm` run its
|
| 14 |
+
``confirm_login_allowed()`` method even if an incorrect password is entered.
|
| 15 |
+
This can leak information about a user, depending on what messages
|
| 16 |
+
``confirm_login_allowed()`` raises. If ``confirm_login_allowed()`` isn't
|
| 17 |
+
overridden, an attacker enter an arbitrary username and see if that user has
|
| 18 |
+
been set to ``is_active=False``. If ``confirm_login_allowed()`` is overridden,
|
| 19 |
+
more sensitive details could be leaked.
|
| 20 |
+
|
| 21 |
+
This issue is fixed with the caveat that ``AuthenticationForm`` can no longer
|
| 22 |
+
raise the "This account is inactive." error if the authentication backend
|
| 23 |
+
rejects inactive users (the default authentication backend, ``ModelBackend``,
|
| 24 |
+
has done that since Django 1.10). This issue will be revisited for Django 2.1
|
| 25 |
+
as a fix to address the caveat will likely be too invasive for inclusion in
|
| 26 |
+
older versions.
|
| 27 |
+
|
| 28 |
+
Bugfixes
|
| 29 |
+
========
|
| 30 |
+
|
| 31 |
+
* Fixed hidden content at the bottom of the "The install worked successfully!"
|
| 32 |
+
page for some languages (:ticket:`28885`).
|
| 33 |
+
|
| 34 |
+
* Fixed incorrect foreign key nullification if a model has two foreign keys to
|
| 35 |
+
the same model and a target model is deleted (:ticket:`29016`).
|
| 36 |
+
|
| 37 |
+
* Fixed regression in the use of ``QuerySet.values_list(..., flat=True)``
|
| 38 |
+
followed by ``annotate()`` (:ticket:`29067`).
|
| 39 |
+
|
| 40 |
+
* Fixed a regression where a queryset that annotates with geometry objects
|
| 41 |
+
crashes (:ticket:`29054`).
|
| 42 |
+
|
| 43 |
+
* Fixed a regression where ``contrib.auth.authenticate()`` crashes if an
|
| 44 |
+
authentication backend doesn't accept ``request`` and a later one does
|
| 45 |
+
(:ticket:`29071`).
|
| 46 |
+
|
| 47 |
+
* Fixed a regression where ``makemigrations`` crashes if a migrations directory
|
| 48 |
+
doesn't have an ``__init__.py`` file (:ticket:`29091`).
|
| 49 |
+
|
| 50 |
+
* Fixed crash when entering an invalid uuid in ``ModelAdmin.raw_id_fields``
|
| 51 |
+
(:ticket:`29094`).
|
testbed/django__django/docs/releases/2.0.3.txt
ADDED
|
@@ -0,0 +1,56 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
==========================
|
| 2 |
+
Django 2.0.3 release notes
|
| 3 |
+
==========================
|
| 4 |
+
|
| 5 |
+
*March 6, 2018*
|
| 6 |
+
|
| 7 |
+
Django 2.0.3 fixes two security issues and several bugs in 2.0.2. Also, the
|
| 8 |
+
latest string translations from Transifex are incorporated.
|
| 9 |
+
|
| 10 |
+
CVE-2018-7536: Denial-of-service possibility in ``urlize`` and ``urlizetrunc`` template filters
|
| 11 |
+
===============================================================================================
|
| 12 |
+
|
| 13 |
+
The ``django.utils.html.urlize()`` function was extremely slow to evaluate
|
| 14 |
+
certain inputs due to catastrophic backtracking vulnerabilities in two regular
|
| 15 |
+
expressions. The ``urlize()`` function is used to implement the ``urlize`` and
|
| 16 |
+
``urlizetrunc`` template filters, which were thus vulnerable.
|
| 17 |
+
|
| 18 |
+
The problematic regular expressions are replaced with parsing logic that
|
| 19 |
+
behaves similarly.
|
| 20 |
+
|
| 21 |
+
CVE-2018-7537: Denial-of-service possibility in ``truncatechars_html`` and ``truncatewords_html`` template filters
|
| 22 |
+
==================================================================================================================
|
| 23 |
+
|
| 24 |
+
If ``django.utils.text.Truncator``'s ``chars()`` and ``words()`` methods were
|
| 25 |
+
passed the ``html=True`` argument, they were extremely slow to evaluate certain
|
| 26 |
+
inputs due to a catastrophic backtracking vulnerability in a regular
|
| 27 |
+
expression. The ``chars()`` and ``words()`` methods are used to implement the
|
| 28 |
+
``truncatechars_html`` and ``truncatewords_html`` template filters, which were
|
| 29 |
+
thus vulnerable.
|
| 30 |
+
|
| 31 |
+
The backtracking problem in the regular expression is fixed.
|
| 32 |
+
|
| 33 |
+
Bugfixes
|
| 34 |
+
========
|
| 35 |
+
|
| 36 |
+
* Fixed a regression that caused sliced ``QuerySet.distinct().order_by()``
|
| 37 |
+
followed by ``count()`` to crash (:ticket:`29108`).
|
| 38 |
+
|
| 39 |
+
* Prioritized the datetime and time input formats without ``%f`` for the Thai
|
| 40 |
+
locale to fix the admin time picker widget displaying "undefined"
|
| 41 |
+
(:ticket:`29109`).
|
| 42 |
+
|
| 43 |
+
* Fixed crash with ``QuerySet.order_by(Exists(...))`` (:ticket:`29118`).
|
| 44 |
+
|
| 45 |
+
* Made ``Q.deconstruct()`` deterministic with multiple keyword arguments
|
| 46 |
+
(:ticket:`29125`). You may need to modify ``Q``'s in existing migrations, or
|
| 47 |
+
accept an autogenerated migration.
|
| 48 |
+
|
| 49 |
+
* Fixed a regression where a ``When()`` expression with a list argument crashes
|
| 50 |
+
(:ticket:`29166`).
|
| 51 |
+
|
| 52 |
+
* Fixed crash when using a ``Window()`` expression in a subquery
|
| 53 |
+
(:ticket:`29172`).
|
| 54 |
+
|
| 55 |
+
* Fixed ``AbstractBaseUser.normalize_username()`` crash if the ``username``
|
| 56 |
+
argument isn't a string (:ticket:`29176`).
|
testbed/django__django/docs/releases/2.0.4.txt
ADDED
|
@@ -0,0 +1,34 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
==========================
|
| 2 |
+
Django 2.0.4 release notes
|
| 3 |
+
==========================
|
| 4 |
+
|
| 5 |
+
*April 2, 2018*
|
| 6 |
+
|
| 7 |
+
Django 2.0.4 fixes several bugs in 2.0.3.
|
| 8 |
+
|
| 9 |
+
Bugfixes
|
| 10 |
+
========
|
| 11 |
+
|
| 12 |
+
* Fixed a crash when filtering with an ``Exists()`` annotation of a queryset
|
| 13 |
+
containing a single field (:ticket:`29195`).
|
| 14 |
+
|
| 15 |
+
* Fixed admin autocomplete widget's translations for ``zh-hans`` and
|
| 16 |
+
``zh-hant`` languages (:ticket:`29213`).
|
| 17 |
+
|
| 18 |
+
* Corrected admin's autocomplete widget to add a space after custom classes
|
| 19 |
+
(:ticket:`29221`).
|
| 20 |
+
|
| 21 |
+
* Fixed ``PasswordResetConfirmView`` crash when using a user model with a
|
| 22 |
+
``UUIDField`` primary key and the reset URL contains an encoded primary key
|
| 23 |
+
value that decodes to an invalid UUID (:ticket:`29206`).
|
| 24 |
+
|
| 25 |
+
* Fixed a regression in Django 1.11.8 where combining two annotated
|
| 26 |
+
``values_list()`` querysets with ``union()``, ``difference()``, or
|
| 27 |
+
``intersection()`` crashed due to mismatching columns (:ticket:`29229`).
|
| 28 |
+
|
| 29 |
+
* Fixed a regression in Django 1.11 where an empty choice could be initially
|
| 30 |
+
selected for the ``SelectMultiple`` and ``CheckboxSelectMultiple`` widgets
|
| 31 |
+
(:ticket:`29273`).
|
| 32 |
+
|
| 33 |
+
* Fixed a regression in Django 2.0 where ``OpenLayersWidget`` deserialization
|
| 34 |
+
ignored the widget map's SRID and assumed 4326 (WGS84) (:ticket:`29116`).
|
testbed/django__django/docs/releases/2.0.6.txt
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
==========================
|
| 2 |
+
Django 2.0.6 release notes
|
| 3 |
+
==========================
|
| 4 |
+
|
| 5 |
+
*June 1, 2018*
|
| 6 |
+
|
| 7 |
+
Django 2.0.6 fixes several bugs in 2.0.5.
|
| 8 |
+
|
| 9 |
+
Bugfixes
|
| 10 |
+
========
|
| 11 |
+
|
| 12 |
+
* Fixed a regression that broke custom template filters that use decorators
|
| 13 |
+
(:ticket:`29400`).
|
| 14 |
+
|
| 15 |
+
* Fixed detection of custom URL converters in included patterns
|
| 16 |
+
(:ticket:`29415`).
|
| 17 |
+
|
| 18 |
+
* Fixed a regression that added an unnecessary subquery to the ``GROUP BY``
|
| 19 |
+
clause on MySQL when using a ``RawSQL`` annotation (:ticket:`29416`).
|
| 20 |
+
|
| 21 |
+
* Fixed ``WKBWriter.write()`` and ``write_hex()`` for empty polygons on
|
| 22 |
+
GEOS 3.6.1+ (:ticket:`29460`).
|
| 23 |
+
|
| 24 |
+
* Fixed a regression in Django 1.10 that could result in large memory usage
|
| 25 |
+
when making edits using ``ModelAdmin.list_editable`` (:ticket:`28462`).
|
testbed/django__django/docs/releases/2.0.7.txt
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
==========================
|
| 2 |
+
Django 2.0.7 release notes
|
| 3 |
+
==========================
|
| 4 |
+
|
| 5 |
+
*July 2, 2018*
|
| 6 |
+
|
| 7 |
+
Django 2.0.7 fixes several bugs in 2.0.6.
|
| 8 |
+
|
| 9 |
+
Bugfixes
|
| 10 |
+
========
|
| 11 |
+
|
| 12 |
+
* Fixed admin changelist crash when using a query expression without ``asc()``
|
| 13 |
+
or ``desc()`` in the page's ordering (:ticket:`29428`).
|
| 14 |
+
|
| 15 |
+
* Fixed admin check crash when using a query expression in
|
| 16 |
+
``ModelAdmin.ordering`` (:ticket:`29428`).
|
| 17 |
+
|
| 18 |
+
* Fixed ``__regex`` and ``__iregex`` lookups with MySQL 8 (:ticket:`29451`).
|
| 19 |
+
|
| 20 |
+
* Fixed migrations crash with namespace packages on Python 3.7
|
| 21 |
+
(:ticket:`28814`).
|
testbed/django__django/docs/releases/2.0.8.txt
ADDED
|
@@ -0,0 +1,29 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
==========================
|
| 2 |
+
Django 2.0.8 release notes
|
| 3 |
+
==========================
|
| 4 |
+
|
| 5 |
+
*August 1, 2018*
|
| 6 |
+
|
| 7 |
+
Django 2.0.8 fixes a security issue and several bugs in 2.0.7.
|
| 8 |
+
|
| 9 |
+
CVE-2018-14574: Open redirect possibility in ``CommonMiddleware``
|
| 10 |
+
=================================================================
|
| 11 |
+
|
| 12 |
+
If the :class:`~django.middleware.common.CommonMiddleware` and the
|
| 13 |
+
:setting:`APPEND_SLASH` setting are both enabled, and if the project has a
|
| 14 |
+
URL pattern that accepts any path ending in a slash (many content management
|
| 15 |
+
systems have such a pattern), then a request to a maliciously crafted URL of
|
| 16 |
+
that site could lead to a redirect to another site, enabling phishing and other
|
| 17 |
+
attacks.
|
| 18 |
+
|
| 19 |
+
``CommonMiddleware`` now escapes leading slashes to prevent redirects to other
|
| 20 |
+
domains.
|
| 21 |
+
|
| 22 |
+
Bugfixes
|
| 23 |
+
========
|
| 24 |
+
|
| 25 |
+
* Fixed a regression in Django 2.0.7 that broke the ``regex`` lookup on MariaDB
|
| 26 |
+
(even though MariaDB isn't officially supported) (:ticket:`29544`).
|
| 27 |
+
|
| 28 |
+
* Fixed a regression where ``django.template.Template`` crashed if the
|
| 29 |
+
``template_string`` argument is lazy (:ticket:`29617`).
|
testbed/django__django/docs/releases/2.0.9.txt
ADDED
|
@@ -0,0 +1,13 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
==========================
|
| 2 |
+
Django 2.0.9 release notes
|
| 3 |
+
==========================
|
| 4 |
+
|
| 5 |
+
*October 1, 2018*
|
| 6 |
+
|
| 7 |
+
Django 2.0.9 fixes a data loss bug in 2.0.8.
|
| 8 |
+
|
| 9 |
+
Bugfixes
|
| 10 |
+
========
|
| 11 |
+
|
| 12 |
+
* Fixed a race condition in ``QuerySet.update_or_create()`` that could result
|
| 13 |
+
in data loss (:ticket:`29499`).
|
testbed/django__django/docs/releases/2.1.1.txt
ADDED
|
@@ -0,0 +1,51 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
==========================
|
| 2 |
+
Django 2.1.1 release notes
|
| 3 |
+
==========================
|
| 4 |
+
|
| 5 |
+
*August 31, 2018*
|
| 6 |
+
|
| 7 |
+
Django 2.1.1 fixes several bugs in 2.1.
|
| 8 |
+
|
| 9 |
+
Bugfixes
|
| 10 |
+
========
|
| 11 |
+
|
| 12 |
+
* Fixed a race condition in ``QuerySet.update_or_create()`` that could result
|
| 13 |
+
in data loss (:ticket:`29499`).
|
| 14 |
+
|
| 15 |
+
* Fixed a regression where ``QueryDict.urlencode()`` crashed if the dictionary
|
| 16 |
+
contains a non-string value (:ticket:`29627`).
|
| 17 |
+
|
| 18 |
+
* Fixed a regression in Django 2.0 where using ``manage.py test --keepdb``
|
| 19 |
+
fails on PostgreSQL if the database exists and the user doesn't have
|
| 20 |
+
permission to create databases (:ticket:`29613`).
|
| 21 |
+
|
| 22 |
+
* Fixed a regression in Django 2.0 where combining ``Q`` objects with ``__in``
|
| 23 |
+
lookups and lists crashed (:ticket:`29643`).
|
| 24 |
+
|
| 25 |
+
* Fixed translation failure of ``DurationField``'s "overflow" error message
|
| 26 |
+
(:ticket:`29623`).
|
| 27 |
+
|
| 28 |
+
* Fixed a regression where the admin change form crashed if the user doesn't
|
| 29 |
+
have the 'add' permission to a model that uses ``TabularInline``
|
| 30 |
+
(:ticket:`29637`).
|
| 31 |
+
|
| 32 |
+
* Fixed a regression where a ``related_query_name`` reverse accessor wasn't set
|
| 33 |
+
up when a ``GenericRelation`` is declared on an abstract base model
|
| 34 |
+
(:ticket:`29653`).
|
| 35 |
+
|
| 36 |
+
* Fixed the test client's JSON serialization of a request data dictionary for
|
| 37 |
+
structured content type suffixes (:ticket:`29662`).
|
| 38 |
+
|
| 39 |
+
* Made the admin change view redirect to the changelist view after a POST if
|
| 40 |
+
the user has the 'view' permission (:ticket:`29663`).
|
| 41 |
+
|
| 42 |
+
* Fixed admin change view crash for view-only users if the form has an extra
|
| 43 |
+
form field (:ticket:`29682`).
|
| 44 |
+
|
| 45 |
+
* Fixed a regression in Django 2.0.5 where ``QuerySet.values()`` or
|
| 46 |
+
``values_list()`` after combining querysets with ``extra()`` with
|
| 47 |
+
``union()``, ``difference()``, or ``intersection()`` crashed due to
|
| 48 |
+
mismatching columns (:ticket:`29694`).
|
| 49 |
+
|
| 50 |
+
* Fixed crash if ``InlineModelAdmin.has_add_permission()`` doesn't accept the
|
| 51 |
+
``obj`` argument (:ticket:`29723`).
|
testbed/django__django/docs/releases/2.1.11.txt
ADDED
|
@@ -0,0 +1,57 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
===========================
|
| 2 |
+
Django 2.1.11 release notes
|
| 3 |
+
===========================
|
| 4 |
+
|
| 5 |
+
*August 1, 2019*
|
| 6 |
+
|
| 7 |
+
Django 2.1.11 fixes security issues in 2.1.10.
|
| 8 |
+
|
| 9 |
+
CVE-2019-14232: Denial-of-service possibility in ``django.utils.text.Truncator``
|
| 10 |
+
================================================================================
|
| 11 |
+
|
| 12 |
+
If ``django.utils.text.Truncator``'s ``chars()`` and ``words()`` methods
|
| 13 |
+
were passed the ``html=True`` argument, they were extremely slow to evaluate
|
| 14 |
+
certain inputs due to a catastrophic backtracking vulnerability in a regular
|
| 15 |
+
expression. The ``chars()`` and ``words()`` methods are used to implement the
|
| 16 |
+
:tfilter:`truncatechars_html` and :tfilter:`truncatewords_html` template
|
| 17 |
+
filters, which were thus vulnerable.
|
| 18 |
+
|
| 19 |
+
The regular expressions used by ``Truncator`` have been simplified in order to
|
| 20 |
+
avoid potential backtracking issues. As a consequence, trailing punctuation may
|
| 21 |
+
now at times be included in the truncated output.
|
| 22 |
+
|
| 23 |
+
CVE-2019-14233: Denial-of-service possibility in ``strip_tags()``
|
| 24 |
+
=================================================================
|
| 25 |
+
|
| 26 |
+
Due to the behavior of the underlying ``HTMLParser``,
|
| 27 |
+
:func:`django.utils.html.strip_tags` would be extremely slow to evaluate
|
| 28 |
+
certain inputs containing large sequences of nested incomplete HTML entities.
|
| 29 |
+
The ``strip_tags()`` method is used to implement the corresponding
|
| 30 |
+
:tfilter:`striptags` template filter, which was thus also vulnerable.
|
| 31 |
+
|
| 32 |
+
``strip_tags()`` now avoids recursive calls to ``HTMLParser`` when progress
|
| 33 |
+
removing tags, but necessarily incomplete HTML entities, stops being made.
|
| 34 |
+
|
| 35 |
+
Remember that absolutely NO guarantee is provided about the results of
|
| 36 |
+
``strip_tags()`` being HTML safe. So NEVER mark safe the result of a
|
| 37 |
+
``strip_tags()`` call without escaping it first, for example with
|
| 38 |
+
:func:`django.utils.html.escape`.
|
| 39 |
+
|
| 40 |
+
CVE-2019-14234: SQL injection possibility in key and index lookups for ``JSONField``/``HStoreField``
|
| 41 |
+
====================================================================================================
|
| 42 |
+
|
| 43 |
+
:lookup:`Key and index lookups <jsonfield.key>` for
|
| 44 |
+
``django.contrib.postgres.fields.JSONField`` and :lookup:`key lookups
|
| 45 |
+
<hstorefield.key>` for :class:`~django.contrib.postgres.fields.HStoreField`
|
| 46 |
+
were subject to SQL injection, using a suitably crafted dictionary, with
|
| 47 |
+
dictionary expansion, as the ``**kwargs`` passed to ``QuerySet.filter()``.
|
| 48 |
+
|
| 49 |
+
CVE-2019-14235: Potential memory exhaustion in ``django.utils.encoding.uri_to_iri()``
|
| 50 |
+
=====================================================================================
|
| 51 |
+
|
| 52 |
+
If passed certain inputs, :func:`django.utils.encoding.uri_to_iri` could lead
|
| 53 |
+
to significant memory usage due to excessive recursion when re-percent-encoding
|
| 54 |
+
invalid UTF-8 octet sequences.
|
| 55 |
+
|
| 56 |
+
``uri_to_iri()`` now avoids recursion when re-percent-encoding invalid UTF-8
|
| 57 |
+
octet sequences.
|
testbed/django__django/docs/releases/2.1.13.txt
ADDED
|
@@ -0,0 +1,14 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
===========================
|
| 2 |
+
Django 2.1.13 release notes
|
| 3 |
+
===========================
|
| 4 |
+
|
| 5 |
+
*October 1, 2019*
|
| 6 |
+
|
| 7 |
+
Django 2.1.13 fixes a regression in 2.1.11.
|
| 8 |
+
|
| 9 |
+
Bugfixes
|
| 10 |
+
========
|
| 11 |
+
|
| 12 |
+
* Fixed a crash when filtering with a ``Subquery()`` annotation of a queryset
|
| 13 |
+
containing ``django.contrib.postgres.fields.JSONField`` or
|
| 14 |
+
:class:`~django.contrib.postgres.fields.HStoreField` (:ticket:`30769`).
|