<feed xmlns='http://www.w3.org/2005/Atom'>
<title>django.git/django/utils/translation/trans_real.py, 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-07-23T23:17:55Z</updated>
<entry>
<title>Refs #36500 -- Rewrapped long docstrings and block comments via a script.</title>
<updated>2025-07-23T23:17:55Z</updated>
<author>
<name>django-bot</name>
<email>ops@djangoproject.com</email>
</author>
<published>2025-07-23T03:41:41Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=69a93a88edb56ba47f624dac7a21aacc47ea474f'/>
<id>urn:sha1:69a93a88edb56ba47f624dac7a21aacc47ea474f</id>
<content type='text'>
Rewrapped long docstrings and block comments to 79 characters + newline
using script from https://github.com/medmunds/autofix-w505.
</content>
</entry>
<entry>
<title>Fixed warnings per flake8 7.2.0.</title>
<updated>2025-03-30T15:54:15Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2025-03-30T15:54:15Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=281910ff8e9ae98fa78ee5d26ae3f0b713ccf418'/>
<id>urn:sha1:281910ff8e9ae98fa78ee5d26ae3f0b713ccf418</id>
<content type='text'>
https://github.com/PyCQA/flake8/releases/tag/7.2.0</content>
</entry>
<entry>
<title>Fixed #34221 -- Honored translation precedence with mixed plural forms.</title>
<updated>2024-09-16T09:04:09Z</updated>
<author>
<name>Claude Paroz</name>
<email>claude@2xlibre.net</email>
</author>
<published>2024-09-14T17:10:01Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=b579485d991da65ebe4a6cdbcab20f59f7515d3f'/>
<id>urn:sha1:b579485d991da65ebe4a6cdbcab20f59f7515d3f</id>
<content type='text'>
</content>
</entry>
<entry>
<title>Fixed #35627 -- Raised a LookupError rather than an unhandled ValueError in get_supported_language_variant().</title>
<updated>2024-07-25T07:38:46Z</updated>
<author>
<name>Lorenzo Peña</name>
<email>lorinkoz@gmail.com</email>
</author>
<published>2024-07-23T10:06:29Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=0e94f292cda632153f2b3d9a9037eb0141ae9c2e'/>
<id>urn:sha1:0e94f292cda632153f2b3d9a9037eb0141ae9c2e</id>
<content type='text'>
LocaleMiddleware didn't handle the ValueError raised by
get_supported_language_variant() when language codes were
over 500 characters.

Regression in 9e9792228a6bb5d6402a5d645bc3be4cf364aefb.
</content>
</entry>
<entry>
<title>Fixed CVE-2024-39614 -- Mitigated potential DoS in get_supported_language_variant().</title>
<updated>2024-07-09T12:21:19Z</updated>
<author>
<name>Sarah Boyce</name>
<email>42296566+sarahboyce@users.noreply.github.com</email>
</author>
<published>2024-06-26T10:11:54Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=9e9792228a6bb5d6402a5d645bc3be4cf364aefb'/>
<id>urn:sha1:9e9792228a6bb5d6402a5d645bc3be4cf364aefb</id>
<content type='text'>
Language codes are now parsed with a maximum length limit of 500 chars.

Thanks to MProgrammer for the report.
</content>
</entry>
<entry>
<title>Applied Black's 2024 stable style.</title>
<updated>2024-01-26T11:45:07Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2024-01-26T11:45:07Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=305757aec19c9d5111e4d76095ae0acd66163e4b'/>
<id>urn:sha1:305757aec19c9d5111e4d76095ae0acd66163e4b</id>
<content type='text'>
https://github.com/psf/black/releases/tag/24.1.0</content>
</entry>
<entry>
<title>Fixed #34515 -- Made LocaleMiddleware prefer language from paths when i18n patterns are used.</title>
<updated>2023-05-02T04:04:18Z</updated>
<author>
<name>Mariusz Felisiak</name>
<email>felisiak.mariusz@gmail.com</email>
</author>
<published>2023-04-28T06:05:43Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=0e444e84f87d174713a2aef0c4f9704ce2865586'/>
<id>urn:sha1:0e444e84f87d174713a2aef0c4f9704ce2865586</id>
<content type='text'>
Regression in 94e7f471c4edef845a4fe5e3160132997b4cca81.

This reverts commit 94e7f471c4edef845a4fe5e3160132997b4cca81
(refs #34069) and
partly reverts commit 3b4728310a7a64f8fcc548163b0aa5f98a5c78f5.

Thanks Anthony Baillard for the report.

Co-Authored-By: Sarah Boyce &lt;42296566+sarahboyce@users.noreply.github.com&gt;
</content>
</entry>
<entry>
<title>Fixed CVE-2023-23969 -- Prevented DoS with pathological values for Accept-Language.</title>
<updated>2023-02-01T08:44:04Z</updated>
<author>
<name>Nick Pope</name>
<email>nick@nickpope.me.uk</email>
</author>
<published>2023-01-25T11:21:48Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=8c660fb59239828583f17cdede3b64f208b8752c'/>
<id>urn:sha1:8c660fb59239828583f17cdede3b64f208b8752c</id>
<content type='text'>
The parsed values of Accept-Language headers are cached in order to
avoid repetitive parsing. This leads to a potential denial-of-service
vector via excessive memory usage if the raw value of Accept-Language
headers is very large.

Accept-Language headers are now limited to a maximum length in order
to avoid this issue.
</content>
</entry>
<entry>
<title>Updated documentation and comments for RFC updates.</title>
<updated>2022-11-10T12:52:17Z</updated>
<author>
<name>Nick Pope</name>
<email>nick@nickpope.me.uk</email>
</author>
<published>2022-11-04T12:33:09Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=9bd174b9a75299dce33e673a559f2b673399b971'/>
<id>urn:sha1:9bd174b9a75299dce33e673a559f2b673399b971</id>
<content type='text'>
- Updated references to RFC 1123 to RFC 5322
  - Only partial as RFC 5322 sort of sub-references RFC 1123.
- Updated references to RFC 2388 to RFC 7578
  - Except RFC 2388 Section 5.3 which has no equivalent.
- Updated references to RFC 2396 to RFC 3986
- Updated references to RFC 2616 to RFC 9110
- Updated references to RFC 3066 to RFC 5646
- Updated references to RFC 7230 to RFC 9112
- Updated references to RFC 7231 to RFC 9110
- Updated references to RFC 7232 to RFC 9110
- Updated references to RFC 7234 to RFC 9111
- Tidied up style of text when referring to RFC documents
</content>
</entry>
<entry>
<title>Fixed #34069 -- Made LocaleMiddleware respect language from requests when i18n patterns are used.</title>
<updated>2022-10-13T08:38:26Z</updated>
<author>
<name>Sergio</name>
<email>smaisidoro@gmail.com</email>
</author>
<published>2022-10-02T10:59:13Z</published>
<link rel='alternate' type='text/html' href='http://cgit.adnoto.dev/django.git/commit/?id=94e7f471c4edef845a4fe5e3160132997b4cca81'/>
<id>urn:sha1:94e7f471c4edef845a4fe5e3160132997b4cca81</id>
<content type='text'>
</content>
</entry>
</feed>
