1
0
mirror of https://github.com/django/django.git synced 2024-12-28 12:06:22 +00:00
django/tests/i18n
Nick Pope 8a7b22d4a6 [4.2.x] Fixed CVE-2023-23969 -- Prevented DoS with pathological values for Accept-Language.
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.
2023-02-01 09:45:07 +01:00
..
commands Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
contenttypes Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
exclude
loading Fixed #31570 -- Corrected translation loading for apps providing territorial language variants with different plural equations. 2020-06-01 08:38:54 +02:00
loading_app Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
other Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
other2
patterns Refs #34074 -- Used headers argument for RequestFactory and Client in docs and tests. 2023-01-04 09:11:36 +01:00
project_dir Fixed #32144 -- Made makemessages remove temporary files when locale path doesn't exist. 2021-07-01 10:11:10 +02:00
resolution
sampleproject Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
territorial_fallback
unchanged Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
__init__.py
forms.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
models.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_compilation.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_extraction.py Fixed BasicExtractorTests.test_makemessages_find_files() test. 2022-07-26 07:23:45 +02:00
test_management.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
test_percents.py Refs #33476 -- Refactored code to strictly match 88 characters line length. 2022-02-07 20:37:05 +01:00
tests.py [4.2.x] Fixed CVE-2023-23969 -- Prevented DoS with pathological values for Accept-Language. 2023-02-01 09:45:07 +01:00
urls_default_unprefixed.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
urls.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
utils.py Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00