This commit is contained in:
Fabien Potencier 2020-07-23 08:37:54 +02:00
parent 564550bbf8
commit 87a5135306
1 changed files with 3 additions and 3 deletions

View File

@ -128,10 +128,10 @@ class ContentSecurityPolicyHandler
$headers = $this->getCspHeaders($response);
$types = [
'script-src' => 'csp_script_nonce',
'script-src' => 'csp_script_nonce',
'script-src-elem' => 'csp_script_nonce',
'style-src' => 'csp_style_nonce',
'style-src-elem' => 'csp_style_nonce'
'style-src' => 'csp_style_nonce',
'style-src-elem' => 'csp_style_nonce',
];
foreach ($headers as $header => $directives) {