mirror of
https://github.com/django/django.git
synced 2025-01-26 18:19:18 +00:00
0e94f292cd
LocaleMiddleware didn't handle the ValueError raised by get_supported_language_variant() when language codes were over 500 characters. Regression in 9e9792228a6bb5d6402a5d645bc3be4cf364aefb.