From fe893a4a01315532f85e45bb3da198f0e44e219a Mon Sep 17 00:00:00 2001 From: Isaac Connor Date: Wed, 25 Sep 2019 10:16:02 -0400 Subject: [PATCH] Add report-uri to out Content-Security-Policy-Report-Only header --- web/includes/functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/web/includes/functions.php b/web/includes/functions.php index 2a5529c96..a78ef2c66 100644 --- a/web/includes/functions.php +++ b/web/includes/functions.php @@ -79,7 +79,7 @@ function CSPHeaders($view, $nonce) { } default: { // 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; } }