1
0
mirror of https://github.com/janeczku/calibre-web synced 2024-12-18 14:10:30 +00:00
calibre-web/cps
Petipopotam ed22209e6c
Content Security Policy syntax was invalid
According to https://csp-evaluator.withgoogle.com/ the CSP built here is NOT valid (and the blob: value is missing at img-src, so the image is not displayed when reading ebook in a browser)

Before this commit, in Chrome response header you can find 

Content-Security-Policy: default-src 'self'  'unsafe-inline' 'unsafe-eval'; font-src 'self' data:; img-src 'self'  data:; object-src: 'none'; blob:;style-src-elem 'self' blob: 'unsafe-inline';

After :

Content-Security-Policy: default-src 'self'  'unsafe-inline' 'unsafe-eval'; font-src 'self' data:; img-src 'self' blob: data:; object-src 'none'  blob:; style-src-elem 'self' blob: 'unsafe-inline';

and image in viewer are displayed
2023-01-19 19:56:27 +01:00
..
metadata_provider Merge remote-tracking branch 'google_cover/patch-1' 2022-12-25 13:27:05 +01:00
services Update for #2653 (AP Scheduler triggers are function calls and not strings anymore) 2023-01-15 13:49:16 +01:00
static Bump sortable.js 2022-12-27 00:18:56 +01:00
tasks little refactoring for send emails through gmail account 2022-10-04 20:48:09 +02:00
templates Updated requirements 2022-12-26 15:47:04 +01:00
translations Merge remote-tracking branch 'kobo_path/master' 2022-12-27 09:11:08 +01:00
__init__.py Bugfix start as program 2022-04-29 18:26:09 +02:00
about.py Removed duplicate Werkzeug entry in about page 2022-05-01 12:36:35 +02:00
admin.py Added GOOGLE_SITE_VERIFICATION environmental value to enable google safe browsing 2022-11-10 11:02:50 -05:00
babel.py Code cosmetics 2022-05-21 21:52:59 +01:00
cache_buster.py Fix Cache Buster 2022-05-22 12:49:00 +01:00
cli.py Fix typos 2022-07-01 21:26:06 +08:00
comic.py Add pubdate, publisher and identifiers metadata #2163 2022-04-05 01:26:35 +01:00
config_sql.py Add French articles to the title regex 2022-12-20 23:14:41 +01:00
constants.py Update version 2022-07-31 16:14:03 +02:00
converter.py Code cosmetics 2022-05-21 21:52:59 +01:00
cover.py Improved cover extraction for epub files 2022-03-12 18:01:11 +01:00
db.py Added databazeknih to supported links 2022-12-25 13:10:21 +01:00
debug_info.py Bugfix for #2433 (LazyString is not JSON serializable if one of kepubify/ebook-convert/unrar is not installed) 2022-06-08 20:25:35 +02:00
dep_check.py Code cosmetics 2022-05-21 21:52:59 +01:00
editbooks.py Catch one additional database error on edit book 2022-10-02 15:21:53 +02:00
epub.py Bugfixes after testrun 2022-09-25 19:36:40 +02:00
error_handler.py Refactored web.py to shrink size of file 2022-04-26 11:49:06 +02:00
fb2.py Add pubdate, publisher and identifiers metadata #2163 2022-04-05 01:26:35 +01:00
fs.py Bugfix session commit 2022-04-30 10:17:41 +02:00
gdrive.py Database error is more detailed 2022-03-12 17:14:54 +01:00
gdriveutils.py backup metadata first step 2022-09-10 18:26:52 +02:00
gevent_wsgi.py Plus ("+" vs. "%2B") encoded search strings for opds search feeds are now working in request string (fix for #2175) 2022-03-28 14:09:28 +02:00
helper.py Backup metadata 4th step 2022-09-19 22:39:40 +02:00
iso_language_names.py Inlcuded indonesian translation 2022-12-25 13:24:00 +01:00
isoLanguages.py Refactored web.py to shrink size of file 2022-04-26 11:49:06 +02:00
jinjia.py Further migration to flask_babel 2022-04-26 20:24:40 +02:00
kobo_auth.py Prevent converting of kepub on every new user (#2446) 2022-06-13 17:05:00 +02:00
kobo_sync_status.py Improved detection of changed database 2022-02-06 14:22:55 +01:00
kobo.py Merge remote-tracking branch 'kobolanguage/language' 2022-09-06 18:09:07 +02:00
logger.py Code cosmetics 2022-05-21 21:52:59 +01:00
main.py Bugfix OAuth Login 2022-04-28 21:43:26 +02:00
MyLoginManager.py Improved detection of changed database 2022-02-06 14:22:55 +01:00
oauth_bb.py Database error is more detailed 2022-03-12 17:14:54 +01:00
oauth.py Refactored web.py to shrink size of file 2022-04-26 11:49:06 +02:00
opds.py reenable startup logging 2022-04-26 14:45:06 +02:00
pagination.py Better epub cover parsing with multiple cover-image items 2022-03-13 19:00:37 +01:00
redirect.py Update flask-login requirement 2022-05-31 19:22:57 +02:00
remotelogin.py Fix typos 2022-07-01 21:26:06 +08:00
render_template.py Fix for #2437 (advanced search for read status crashes calibre-web) 2022-06-08 17:17:07 +02:00
reverseproxy.py Code cleaning (remove python2) 2021-10-04 19:23:24 +02:00
schedule.py Update for #2653 (AP Scheduler triggers are function calls and not strings anymore) 2023-01-15 13:49:16 +01:00
search_metadata.py Further migration to flask_babel 2022-04-26 20:24:40 +02:00
search.py Bugfix search with wrong custom column configured 2022-07-23 07:23:13 +02:00
server.py Transfer gevent errors to log file 2022-05-09 19:47:43 +02:00
shelf.py Fix typos 2022-07-01 21:26:06 +08:00
subproc_wrapper.py Code cleaning (remove python2) 2021-10-04 19:23:24 +02:00
tasks_status.py Further migration to flask_babel 2022-04-26 20:24:40 +02:00
tornado_wsgi.py Plus ("+" vs. "%2B") encoded search strings for opds search feeds are now working in request string (fix for #2175) 2022-03-28 14:09:28 +02:00
ub.py Bugfixes after testrun 2022-09-25 19:36:40 +02:00
updater.py Fix typo 2022-05-01 10:25:38 +02:00
uploader.py Make pyPDF2 again to the favorite pdf metadata extractor 2022-08-27 15:44:21 +02:00
usermanagement.py Better epub cover parsing with multiple cover-image items 2022-03-13 19:00:37 +01:00
web.py Content Security Policy syntax was invalid 2023-01-19 19:56:27 +01:00