diff options
| author | Lorenzo Peña <lorinkoz@gmail.com> | 2024-07-23 12:06:29 +0200 |
|---|---|---|
| committer | Sarah Boyce <42296566+sarahboyce@users.noreply.github.com> | 2024-07-25 09:40:49 +0200 |
| commit | 741f33eaf1801b34eaf6e3c72cb1af630de2eeb6 (patch) | |
| tree | 46e91e5def385f8183a96a40189073165240cec0 /scripts | |
| parent | d9d77de2f6b417dd3c9d01a6f3879c37482be725 (diff) | |
[5.1.x] Fixed #35627 -- Raised a LookupError rather than an unhandled ValueError in get_supported_language_variant().
LocaleMiddleware didn't handle the ValueError raised by
get_supported_language_variant() when language codes were
over 500 characters.
Regression in 9e9792228a6bb5d6402a5d645bc3be4cf364aefb.
Backport of 0e94f292cda632153f2b3d9a9037eb0141ae9c2e from main.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions
