mirror of
https://github.com/janeczku/calibre-web
synced 2024-11-24 18:47:23 +00:00
5341910ea5
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. |
||
---|---|---|
.. | ||
static | ||
templates | ||
translations | ||
__init__.py | ||
book_formats.py | ||
cache_buster.py | ||
cli.py | ||
comic.py | ||
converter.py | ||
db.py | ||
epub.py | ||
fb2.py | ||
gdriveutils.py | ||
helper.py | ||
redirect.py | ||
reverseproxy.py | ||
server.py | ||
ub.py | ||
uploader.py | ||
web.py | ||
worker.py |