Fix CS
This commit is contained in:
parent
564550bbf8
commit
87a5135306
@ -128,10 +128,10 @@ class ContentSecurityPolicyHandler
|
|||||||
$headers = $this->getCspHeaders($response);
|
$headers = $this->getCspHeaders($response);
|
||||||
|
|
||||||
$types = [
|
$types = [
|
||||||
'script-src' => 'csp_script_nonce',
|
'script-src' => 'csp_script_nonce',
|
||||||
'script-src-elem' => 'csp_script_nonce',
|
'script-src-elem' => 'csp_script_nonce',
|
||||||
'style-src' => 'csp_style_nonce',
|
'style-src' => 'csp_style_nonce',
|
||||||
'style-src-elem' => 'csp_style_nonce'
|
'style-src-elem' => 'csp_style_nonce',
|
||||||
];
|
];
|
||||||
|
|
||||||
foreach ($headers as $header => $directives) {
|
foreach ($headers as $header => $directives) {
|
||||||
|
Reference in New Issue
Block a user