Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(get_locale): don't assume the session-provided locale is usable
This is a safe assumption except in the corner case where (e.g.): 1. A user begins a session and selects language L. 2. The Application Server upgrades to a version of securedrop-app-code that removes support for language L. 3. The user resumes their session, which still has language L selected. But, since this case has come up in testing[1], best to check for it. [1]: #6406 (comment)
- Loading branch information