You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
parallel-library/cps
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.
6 years ago
..
static Fix #696 6 years ago
templates Merged new caliblur theme 6 years ago
translations Merge remote-tracking branch 'ru-translation/master' 6 years ago
__init__.py custom columns unfinished 9 years ago
book_formats.py Improved message for non configured ebook converter 6 years ago
cache_buster.py python3 compatibility 7 years ago
cli.py Fixes from testing: 6 years ago
comic.py Import covers from comic files during upload 7 years ago
converter.py Improved message for non configured ebook converter 6 years ago
db.py Add ability to store and edit publishers 6 years ago
epub.py Improved error handling for renaming authors and titles (changes related to filesystem and not only to database) 7 years ago
fb2.py Fix #568 (encoding problem in fb2 upload) 6 years ago
gdriveutils.py Improved message for non configured ebook converter 6 years ago
helper.py Fix #712 6 years ago
redirect.py Fix for Python 3 8 years ago
reverseproxy.py Improved message for non configured ebook converter 6 years ago
server.py Merge remote-tracking branch 'swedish/master' 6 years ago
ub.py Bugfix Publisher (upper/lower case, remove publisher, publisher visibility on new users) 6 years ago
uploader.py Improved error handling for renaming authors and titles (changes related to filesystem and not only to database) 7 years ago
web.py Deal gracefully with invalid Accept-Languages header 6 years ago
worker.py Merged new caliblur theme 6 years ago