Adrian Petrescu 5341910ea5
Deal gracefully with invalid Accept-Languages header
At the moment, calibre-web will raise an internal 500 error if an
invalid locale identifier is passed in through the `Accept-Language`
HTTP header (for a non-logged-in user).

This breaks some crappily-built OPDS feed readers, and there's no reason
to error out so severely. This commit just gracefully falls back to `en`
if it can't parse the locale identifier.

Fixes #743 among others.
2019-01-03 11:45:15 -05:00
..
2018-12-29 11:16:36 +01:00
2018-12-27 10:53:19 +01:00
2016-04-20 19:25:47 +02:00
2017-09-24 07:52:59 -04:00
2018-09-23 19:15:50 +02:00
2018-09-30 14:08:55 +02:00
2018-11-25 13:29:58 +01:00
2017-07-13 21:28:00 -07:00
2018-12-27 10:53:19 +01:00