Fix missing semi colon in Content-Security-Policy-Report-Only
parent
492be7cc33
commit
555f3e9c0d
|
@ -79,7 +79,7 @@ function CSPHeaders($view, $nonce) {
|
||||||
}
|
}
|
||||||
default: {
|
default: {
|
||||||
// Use Report-Only mode on all other pages.
|
// Use Report-Only mode on all other pages.
|
||||||
header("Content-Security-Policy-Report-Only: script-src 'unsafe-inline' 'self' 'nonce-$nonce' $additionalScriptSrc report-uri https://zmrepo.zoneminder.com");
|
header("Content-Security-Policy-Report-Only: script-src 'unsafe-inline' 'self' 'nonce-$nonce' $additionalScriptSrc; report-uri https://zmrepo.zoneminder.com");
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue