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

Extra redirect on Language Switching #123

Open
xipasduarte opened this issue Sep 3, 2024 · 0 comments
Open

Extra redirect on Language Switching #123

xipasduarte opened this issue Sep 3, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@xipasduarte
Copy link
Member

When using the back-office interface to switch to a new language, there are usually two request:

  • 302 with the argument ubb_lang_switch
  • 200 resulting page with lang=[locale]

When the language being switched to is the default, there is an extra request in between:

  • 302 with the argument ubb_lang_switch
  • 301 including an empty argument at the end and no lang=[locale]
  • 200 resulting page with lang=[locale]
@xipasduarte xipasduarte added the bug Something isn't working label Sep 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant