Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Do not save the language as request lang for apps when we didn't find… #24432

Merged

Conversation

nickvergessen
Copy link
Contributor

… any

Fix #24270

The problem why this only happens with IE, Edge and Safari is, that Chrome and Firefox send en as accept language by default as well, instead of only your OS language.
Since we find en for all apps, we never reached the end of the loop and returned with an available language instead.
There the requestLanguage is only set with $app === null already and only this last occurance was missing it.

@PluueeR @CCXX2016 @pako81 @MorrisJobke please test

@karlitschek should backport to 9.0.x

@mention-bot
Copy link

By analyzing the blame information on this pull request, we identified @LukasReschke, @MorrisJobke and @bartv2 to be potential reviewers

@karlitschek
Copy link
Contributor

good debugging :-) Please backport 👍

@MorrisJobke
Copy link
Contributor

Tested and works 👍

@MorrisJobke MorrisJobke merged commit 873849e into master May 4, 2016
@MorrisJobke MorrisJobke deleted the issue-24270-never-save-app-language-into-request-lang branch May 4, 2016 11:47
@nickvergessen
Copy link
Contributor Author

Backport in #24441

@lock
Copy link

lock bot commented Aug 5, 2019

This thread has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.

@lock lock bot locked as resolved and limited conversation to collaborators Aug 5, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

No consitent languages in login screen
4 participants