Skip to content

Commit df54649

Browse files
author
Sander
authored
Merge pull request #126 from sumocoders/csp-radiobutton-icon
Allow "img-src: data:" in CSP for bootstrap icons
2 parents 3a01c0d + 95d561e commit df54649

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/DependencyInjection/Configuration.php

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,10 @@ public function getConfigTreeBuilder(): TreeBuilder
2424
'font-src' => [
2525
"'self'",
2626
],
27+
'img-src' => [
28+
"'self'",
29+
"data:", // Bootstrap icons
30+
],
2731
'child-src' => [
2832
"'none'", // Block all iframes
2933
],

0 commit comments

Comments
 (0)