mirror of
https://github.com/django/django.git
synced 2025-02-05 06:56:53 +00:00
8c660fb592
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.