diff --git a/bedrock/settings/__init__.py b/bedrock/settings/__init__.py index ed6a5034fba..695fea73f74 100644 --- a/bedrock/settings/__init__.py +++ b/bedrock/settings/__init__.py @@ -123,6 +123,7 @@ # CSP directive updates we're testing that we hope to move to the enforced policy. CONTENT_SECURITY_POLICY_REPORT_ONLY["DIRECTIVES"]["default-src"] = [csp.constants.SELF] + CONTENT_SECURITY_POLICY_REPORT_ONLY["DIRECTIVES"]["object-src"] = [csp.constants.NONE] CONTENT_SECURITY_POLICY_REPORT_ONLY["DIRECTIVES"]["frame-ancestors"] = [csp.constants.NONE] CONTENT_SECURITY_POLICY_REPORT_ONLY["DIRECTIVES"]["style-src"].remove(csp.constants.UNSAFE_INLINE)