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

Validate locale from cookie/session against config #211

Open
aik099 opened this issue Sep 22, 2017 · 0 comments
Open

Validate locale from cookie/session against config #211

aik099 opened this issue Sep 22, 2017 · 0 comments

Comments

@aik099
Copy link

aik099 commented Sep 22, 2017

Right now the locale detected from cookie/session is used as-is without being validated against enabled locales in config. This has 2 side effects:

  1. new locale isn't always available and pages show as 404, when accessed
  2. removed locale is showing as working and not as 404

To fix that I hard to clear all the caches. Probably we can detect that on the fly.

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

No branches or pull requests

1 participant