1
0
mirror of https://github.com/django/django.git synced 2024-12-22 17:16:24 +00:00
django/tests/i18n
Nick Pope 8c660fb592 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:44:04 +01:00
..
commands
contenttypes
exclude
loading
loading_app
other
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
resolution
sampleproject
territorial_fallback
unchanged
__init__.py
forms.py
models.py
test_compilation.py
test_extraction.py Fixed BasicExtractorTests.test_makemessages_find_files() test. 2022-07-26 07:23:45 +02:00
test_management.py
test_percents.py Refs #33476 -- Refactored code to strictly match 88 characters line length. 2022-02-07 20:37:05 +01:00
tests.py Fixed CVE-2023-23969 -- Prevented DoS with pathological values for Accept-Language. 2023-02-01 09:44:04 +01:00
urls_default_unprefixed.py
urls.py
utils.py