Skip to content
Snippets Groups Projects
Commit 6414b4b5 authored by Thomas Müller's avatar Thomas Müller
Browse files

Merge pull request #19426 from owncloud/fix-legacy-CSP-for-images

Whitelist "data:" in legacy CSP headers
parents c269f658 c4bac165
Branches
No related tags found
No related merge requests found
......@@ -247,7 +247,7 @@ class OC_Response {
. 'script-src \'self\' \'unsafe-eval\'; '
. 'style-src \'self\' \'unsafe-inline\'; '
. 'frame-src *; '
. 'img-src *; '
. 'img-src * data:; '
. 'font-src \'self\' data:; '
. 'media-src *; '
. 'connect-src *';
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment