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

When determining language from HTTP_ACCEPT_LANGUAGE, also try base language only #1402

Merged
merged 1 commit into from
Apr 4, 2017

Conversation

flaviocopes
Copy link
Contributor

Fixes Safari sending the language code always with a locale (e.g. it-it
or fr-fr)

…nguage only

Fixes Safari sending the language code always with a locale (e.g. it-it
or fr-fr)
@flaviocopes
Copy link
Contributor Author

Reported in https://getgrav.org/forum#!/general:language-isnt-detected-on

Report and description of the same issue found on DeuxHuitHuit/flang_redirection#6 (comment)

@saxinte
Copy link

saxinte commented Apr 4, 2017

Hi, it look like it's fixed.

Tested on:

  • Safari IOS 10
  • Safari 9 Mac OSX El Capitan
  • Chrome 57 Mac OSX El Capitan
  • Android Nexus 5 Facebook Webview

Thanks!

@rhukster rhukster merged commit d338d79 into develop Apr 4, 2017
@rhukster rhukster deleted the feature/fix-safari-lang branch October 1, 2018 18:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants