-
Notifications
You must be signed in to change notification settings - Fork 29
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 using different negotiation methods for interface and content, there are redirect loops #77
Comments
Open
We might want to consider implementing https://www.drupal.org/node/2641118, likely allows us to throw out most if not all of our custom methods. We might lose some configurability however. |
Could this also be happen when some of our users has 'preferred_admin_langcode' NULL? |
No issue here with the below, so I suspect we're talking about
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
When using different negotiation methods for interface and content, there are redirect loops.
I tracked this down to redirectNormalizeAliases(), where we are checking if the used path is the same one than saved for the current system path. However, we call $this->languageManager->getCurrentLanguage() which defaults to interface language.
I think it should use $this->languageManager->getCurrentLanguage(LanguageInterface::TYPE_CONTENT) instead.
The text was updated successfully, but these errors were encountered: