1
0
mirror of https://github.com/django/django.git synced 2024-12-23 01:25:58 +00:00
django/tests/i18n
Sarah Boyce 9e9792228a Fixed CVE-2024-39614 -- Mitigated potential DoS in get_supported_language_variant().
Language codes are now parsed with a maximum length limit of 500 chars.

Thanks to MProgrammer for the report.
2024-07-09 09:21:19 -03:00
..
commands Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
contenttypes Fixed #33985 -- Used app_config.verbose_name in ContentType.__str__(). 2023-03-09 10:27:08 +01:00
exclude
loading
loading_app Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
obsolete_translations Fixed #34448 -- Doc'd and tested --no-obsolete option of makemessages. 2023-07-14 08:47:30 +02:00
other Refs #33476 -- Reformatted code with Black. 2022-02-07 20:37:05 +01:00
other2
patterns Updated fuzzy translations in tests.i18n.patterns. 2024-03-04 11:24:21 +01:00
project_dir
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 Fixed #34952 -- Copied dir list when processing locale folders to avoid missing entries during os.walk traversal. 2023-11-13 14:03:48 -03:00
test_extraction.py Fixed #34848 -- Ignored i18n_catalog.js file when building Django's translations catalog. 2023-09-22 08:20:08 +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 Fixed CVE-2024-39614 -- Mitigated potential DoS in get_supported_language_variant(). 2024-07-09 09:21:19 -03:00
urls_default_unprefixed.py Fixed #34515 -- Made LocaleMiddleware prefer language from paths when i18n patterns are used. 2023-05-02 06:04:18 +02: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