SciPost Code Repository

Skip to content
Snippets Groups Projects
Commit c12126dd authored by Jean-Sébastien Caux's avatar Jean-Sébastien Caux
Browse files

Add data: to IMG and SCRIPT sources

parent ab0dd58c
No related branches found
No related tags found
No related merge requests found
......@@ -198,10 +198,11 @@ REFERRER_POLICY = 'same-origin'
CSP_FONT_SRC = ("'self'", 'data:', 'fonts.gstatic.com', 'cdnjs.cloudflare.com',
'www.google.com', 'themes.googleusercontent.com')
CSP_FRAME_SRC = ('www.google.com', 'player.vimeo.com')
CSP_IMG_SRC = ("'self'", 'ajax.googleapis.com', 'assets.crossref.org',
CSP_IMG_SRC = ("'self'", 'data:', 'ajax.googleapis.com', 'assets.crossref.org',
'licensebuttons.net', 'crossmark-cdn.crossref.org')
CSP_SCRIPT_SRC = ("'self'", "'unsafe-inline'", 'ajax.googleapis.com', 'cdnjs.cloudflare.com',
'crossmark-cdn.crossref.org', 'www.recaptcha.net', 'www.gstatic.com',
CSP_SCRIPT_SRC = ("'self'", 'data:', "'unsafe-inline'", 'ajax.googleapis.com',
'cdnjs.cloudflare.com', 'crossmark-cdn.crossref.org',
'www.recaptcha.net', 'www.gstatic.com',
'code.jquery.com')
CSP_STYLE_SRC = ("'self'", "'unsafe-inline'", 'ajax.googleapis.com', 'code.jquery.com',
'fonts.googleapis.com', 'cdnjs.cloudflare.com')
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment