Add report-uri to out Content-Security-Policy-Report-Only header

This commit is contained in:
Isaac Connor 2019-09-25 10:16:02 -04:00
parent ca40e760f7
commit fe893a4a01
1 changed files with 1 additions and 1 deletions

View File

@ -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"); header("Content-Security-Policy-Report-Only: script-src 'unsafe-inline' 'self' 'nonce-$nonce' $additionalScriptSrc report-uri https://zmrepo.zoneminder.com");
break; break;
} }
} }