Skip to content

Commit 31f2f08

Browse files
authored
All: switch to enforced CSP header
Ref jquery/infrastructure-puppet#54 Closes gh-476
1 parent 12053c7 commit 31f2f08

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

themes/jquery/functions.php

+1-1
Original file line numberDiff line numberDiff line change
@@ -289,7 +289,7 @@ function jq_content_security_policy() {
289289
}
290290

291291
header( 'Reporting-Endpoints: csp-endpoint="' . $report_url . '"' );
292-
header( 'Content-Security-Policy-Report-Only: ' . $policy_string );
292+
header( 'Content-Security-Policy: ' . $policy_string );
293293
}
294294

295295
add_action( 'send_headers', 'jq_content_security_policy' );

0 commit comments

Comments
 (0)