mirror of
https://github.com/django/django.git
synced 2025-08-02 18:13:02 +00:00
[2.2.x] Fixed #30769 -- Fixed a crash when filtering against a subquery JSON/HStoreField annotation.
This was a regression introduced by7deeabc7c7
to address CVE-2019-14234. Thanks Tim Kleinschmidt for the report and Mariusz for the tests. Backport of6c3dfba892
from master
This commit is contained in:
parent
e4fb132f43
commit
7806e45454
7 changed files with 27 additions and 6 deletions
|
@ -9,4 +9,6 @@ Django 1.11.25 fixes a regression in 1.11.23.
|
|||
Bugfixes
|
||||
========
|
||||
|
||||
* ...
|
||||
* Fixed a crash when filtering with a ``Subquery()`` annotation of a queryset
|
||||
containing :class:`~django.contrib.postgres.fields.JSONField` or
|
||||
:class:`~django.contrib.postgres.fields.HStoreField` (:ticket:`30769`).
|
||||
|
|
|
@ -9,4 +9,6 @@ Django 2.1.13 fixes a regression in 2.1.11.
|
|||
Bugfixes
|
||||
========
|
||||
|
||||
* ...
|
||||
* Fixed a crash when filtering with a ``Subquery()`` annotation of a queryset
|
||||
containing :class:`~django.contrib.postgres.fields.JSONField` or
|
||||
:class:`~django.contrib.postgres.fields.HStoreField` (:ticket:`30769`).
|
||||
|
|
|
@ -11,3 +11,8 @@ Bugfixes
|
|||
|
||||
* Fixed migrations crash on SQLite when altering a model containing partial
|
||||
indexes (:ticket:`30754`).
|
||||
|
||||
* Fixed a regression in Django 2.2.4 that caused a crash when filtering with a
|
||||
``Subquery()`` annotation of a queryset containing
|
||||
:class:`~django.contrib.postgres.fields.JSONField` or
|
||||
:class:`~django.contrib.postgres.fields.HStoreField` (:ticket:`30769`).
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue