Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[#3282] Fix exception when requesting /e or /n
Fixes #3282 Due to a bug in how we construct the list of available locales in `get_locales_from_config` we ended up with `e` and `n` in it. If you actually requested a URL with /e/ as the lang code you got an exception because Pylons raised a `LanguageError` when trying to access the `e` or `n` language files.
- Loading branch information