mirror of
https://github.com/django/django.git
synced 2025-02-09 00:45:23 +00:00
LocaleMiddleware didn't handle the ValueError raised by get_supported_language_variant() when language codes were over 500 characters. Regression in 9e9792228a6bb5d6402a5d645bc3be4cf364aefb.