Skip to content

Commit cdffe09

Browse files
committed
Fix CSP-header; Firefox complains about not being able to load media-src: 'data'
1 parent 7c8eb48 commit cdffe09

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/SimpleSAML/Configuration.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ class Configuration implements Utils\ClearableState
6060
"style-src 'self'; " .
6161
"font-src 'self'; " .
6262
"connect-src 'self'; " .
63+
"media-src data:;" .
6364
"img-src 'self' data:; " .
6465
"base-uri 'none'",
6566
'Referrer-Policy' => 'origin-when-cross-origin',

0 commit comments

Comments
 (0)