mirror of
https://github.com/django/django.git
synced 2025-11-07 07:15:35 +00:00
LocaleMiddleware didn't handle the ValueError raised by get_supported_language_variant() when language codes were over 500 characters. Regression in9e9792228a. Backport of0e94f292cdfrom main.