Disable Language redirect infinite loop

Created on 1 November 2019, about 5 years ago
Updated 20 September 2024, 3 months ago

I fall into this infinite loop of redirection when I disabled Spanish language and tried to log in as a user that has this disabled language as its preferred language for the site. The expectation was for the user to be redirected to English language. However, this resulted in an infinite loop of redirection and broke the site. This issue only occurs when the 'URL' is unchecked and the 'User' is checked in the Language Detection Method. For recreating this issue please follow these steps;

1: Login as 'Admin'
2: Navigate to: Configuration >>Regional and language >>Languages >>Detection and selection
3: Uncheck the 'URL' option
4: Check the 'User' option
5: Save settings

🐛 Bug report
Status

RTBC

Version

1.0

Component

Code

Created by

🇬🇧United Kingdom saber.hamidi

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024