<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/docs/releases/5.2.2.txt, branch main</title>
<subtitle>django
</subtitle>
<id>http://cgit.adnoto.dev/django.git/atom?h=main</id>
<link rel='self' href='http://cgit.adnoto.dev/django.git/atom?h=main'/>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/'/>
<updated>2025-06-04T11:33:30Z</updated>
<entry>
<title>Fixed CVE-2025-48432 -- Escaped formatting arguments in `log_response()`.</title>
<updated>2025-06-04T11:33:30Z</updated>
<author>
<name>Natalia</name>
<email>124304+nessita@users.noreply.github.com</email>
</author>
<published>2025-05-20T18:29:52Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=a07ebec5591e233d8bbb38b7d63f35c5479eef0e'/>
<id>urn:sha1:a07ebec5591e233d8bbb38b7d63f35c5479eef0e</id>
<content type='text'>
Suitably crafted requests containing a CRLF sequence in the request
path may have allowed log injection, potentially corrupting log files,
obscuring other attacks, misleading log post-processing tools, or
forging log entries.

To mitigate this, all positional formatting arguments passed to the
logger are now escaped using "unicode_escape" encoding.

Thanks to Seokchan Yoon (https://ch4n3.kr/) for the report.

Co-authored-by: Carlton Gibson &lt;carlton@noumenal.es&gt;
Co-authored-by: Jake Howard &lt;git@theorangeone.net&gt;
</content>
</entry>
<entry>
<title>Fixed #36432 -- Fixed a prefetch_related crash on related target subclass queryset.</title>
<updated>2025-06-04T08:46:49Z</updated>
<author>
<name>Simon Charette</name>
<email>charette.s@gmail.com</email>
</author>
<published>2025-06-04T02:34:39Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=08187c94ed02c45ad40a32244dedeaa7ac71ca87'/>
<id>urn:sha1:08187c94ed02c45ad40a32244dedeaa7ac71ca87</id>
<content type='text'>
Regression in 626d77e52a3f247358514bcf51c761283968099c.

Refs #36116.

Thanks Cornelis Poppema for the excellent report.
</content>
</entry>
<entry>
<title>Fixed #36411 -- Made HttpRequest.get_preferred_type() consider media type parameters.</title>
<updated>2025-06-03T19:10:41Z</updated>
<author>
<name>Jake Howard</name>
<email>git@theorangeone.net</email>
</author>
<published>2025-05-27T16:00:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=c075508b4de8edf9db553b409f8a8ed2f26ecead'/>
<id>urn:sha1:c075508b4de8edf9db553b409f8a8ed2f26ecead</id>
<content type='text'>
HttpRequest.get_preferred_type() did not account for parameters in
Accept header media types (e.g., "text/vcard; version=3.0"). This caused
incorrect content negotiation when multiple types differed only by
parameters, reducing specificity as per RFC 7231 section 5.3.2
(https://datatracker.ietf.org/doc/html/rfc7231.html#section-5.3.2).

This fix updates get_preferred_type() to treat media types with
parameters as distinct, allowing more precise and standards-compliant
matching.

Thanks to magicfelix for the report, and to David Sanders and Sarah
Boyce for the reviews.
</content>
</entry>
<entry>
<title>Fixed #36416 -- Made QuerySet.in_bulk() account for composite pks in id_list.</title>
<updated>2025-06-03T15:45:15Z</updated>
<author>
<name>Jacob Walls</name>
<email>jacobtylerwalls@gmail.com</email>
</author>
<published>2025-05-24T18:03:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=26313bc21932d0d3af278ab387549d63b1f64575'/>
<id>urn:sha1:26313bc21932d0d3af278ab387549d63b1f64575</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #36423 -- Prevented filter_horizontal buttons from intercepting form submission.</title>
<updated>2025-06-03T01:25:14Z</updated>
<author>
<name>Blayze</name>
<email>blayze@carstickers.com</email>
</author>
<published>2025-05-28T18:22:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=90429625a85f1f77dfea200c91bd2dabab57974f'/>
<id>urn:sha1:90429625a85f1f77dfea200c91bd2dabab57974f</id>
<content type='text'>
In the admin's filter_horizontal widget, optional action buttons like
"Choose all", "Remove all", etc. were changed from `&lt;a&gt;` to `&lt;button&gt;`
elements in #34619, but without specifying `type="button"`. As a result,
when pressing Enter while focused on a form input, these buttons could
be triggered and intercept form submission.

Explicitly set `type="button"` on these control buttons to prevent them
from acting as submit buttons.

Thanks Antoliny Lee for the quick triage and review.

Regression in 857b1048d53ebf5fc5581c110e85c212b81ca83a.
</content>
</entry>
<entry>
<title>Added stub release notes and release date for 5.2.2, 5.1.10, and 4.2.22.</title>
<updated>2025-05-28T13:03:06Z</updated>
<author>
<name>Natalia</name>
<email>124304+nessita@users.noreply.github.com</email>
</author>
<published>2025-05-28T13:03:06Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=1a744343999c9646912cee76ba0a2fa6ef5e6240'/>
<id>urn:sha1:1a744343999c9646912cee76ba0a2fa6ef5e6240</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #36405 -- Fixed Aggregate.order_by using OuterRef.</title>
<updated>2025-05-23T14:15:59Z</updated>
<author>
<name>Adam Johnson</name>
<email>me@adamj.eu</email>
</author>
<published>2025-05-21T12:48:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=c2615a050036eda0bca090c707191076220cee9f'/>
<id>urn:sha1:c2615a050036eda0bca090c707191076220cee9f</id>
<content type='text'>
co-authored-by: Simon Charette &lt;charette.s@gmail.com&gt;
</content>
</entry>
<entry>
<title>Fixed #36404 -- Fixed Aggregate.filter using OuterRef.</title>
<updated>2025-05-23T13:17:20Z</updated>
<author>
<name>Adam Johnson</name>
<email>me@adamj.eu</email>
</author>
<published>2025-05-21T14:16:12Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=b8e5a8a9a2a767f584cbe89a878a42363706f939'/>
<id>urn:sha1:b8e5a8a9a2a767f584cbe89a878a42363706f939</id>
<content type='text'>
Regression in a76035e925ff4e6d8676c65cb135c74b993b1039.
Thank you to Simon Charette for the review.

co-authored-by: Simon Charette &lt;charette.s@gmail.com&gt;
</content>
</entry>
<entry>
<title>Fixed #36390 -- Deprecated RemoteUserMiddleware subclasses missing aprocess_request().</title>
<updated>2025-05-23T08:22:36Z</updated>
<author>
<name>Sarah Boyce</name>
<email>42296566+sarahboyce@users.noreply.github.com</email>
</author>
<published>2025-05-20T15:12:25Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=1704c49a9b149b66b6a0e67abc8c95293bc35649'/>
<id>urn:sha1:1704c49a9b149b66b6a0e67abc8c95293bc35649</id>
<content type='text'>
Regression in 50f89ae850f6b4e35819fe725a08c7e579bfd099.
Thank you to shamoon for the report and Natalia Bidart for the review.
</content>
</entry>
<entry>
<title>Fixed #36388 -- Made QuerySet.union() return self when called with no arguments.</title>
<updated>2025-05-19T08:34:14Z</updated>
<author>
<name>Colleen Dunlap</name>
<email>colleendunlap@Colleens-Air.lan</email>
</author>
<published>2025-05-15T19:41:59Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=802baf5da5b8d8b44990a8214a43b951e7ab8b39'/>
<id>urn:sha1:802baf5da5b8d8b44990a8214a43b951e7ab8b39</id>
<content type='text'>
Regression in 9cb8baa0c4fa2c10789c5c8b65f4465932d4d172.
Thank you to Antoine Humeau for the report and Simon Charette for the review.
</content>
</entry>
</feed>
