We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49831af commit 275755cCopy full SHA for 275755c
app/Http/Middleware/SecurityHeaders.php
@@ -100,7 +100,9 @@ public function handle($request, Closure $next)
100
## start strict CSP
101
102
$strictCspPolicy[] = "default-src 'self'";
103
- $strictCspPolicy[] = "style-src 'self' 'nonce-" . csrf_token() . "'";
+ // FIXME: There is a LOT of dynamically loaded inline styles into elements, so this isn't going to work for now...
104
+ // $strictCspPolicy[] = "style-src 'self' 'nonce-" . csrf_token() . "'";
105
+ $strictCspPolicy[] = "style-src 'self' 'unsafe-inline'";
106
$strictCspPolicy[] = "script-src 'self' 'nonce-" . csrf_token() . "'";
107
$strictCspPolicy[] = "connect-src 'self'";
108
$strictCspPolicy[] = "base-uri 'self'";
0 commit comments