diff --git a/cfgov/agreements/jinja2/agreements/base_agreements.html b/cfgov/agreements/jinja2/agreements/base_agreements.html index 60e9e553810..875817e3dff 100644 --- a/cfgov/agreements/jinja2/agreements/base_agreements.html +++ b/cfgov/agreements/jinja2/agreements/base_agreements.html @@ -9,7 +9,7 @@ {{ super() }} - + {% endblock javascript %} diff --git a/cfgov/cfgov/settings/base.py b/cfgov/cfgov/settings/base.py index d7029c71985..a040298cbf0 100644 --- a/cfgov/cfgov/settings/base.py +++ b/cfgov/cfgov/settings/base.py @@ -463,117 +463,29 @@ "HOSTNAMES": environment_json("CLOUDFRONT_PURGE_HOSTNAMES") } -# CSP Allowlists +# CSP # -# Please note: Changing these lists will change the value of the -# Content-Security-Policy header Django returns. Django does NOT include -# header values when calculating the response hash returned in the ETag -# header. -# Our Akamai cache uses the ETag header to know whether a cached copy of a -# page has been updated after it expires or after an invalidation purge. -# -# Together, this means that any changes to these CSP values WILL NOT BE -# RETURNED by Akamai until a page's non-header content changes, or a -# delete-purge is performed. +# See https://web.dev/articles/strict-csp -# These specify what is allowed in {% endblock javascript %} diff --git a/cfgov/housing_counselor/jinja2/housing_counselor/index.html b/cfgov/housing_counselor/jinja2/housing_counselor/index.html index 54ff3376b6d..9e50b827320 100644 --- a/cfgov/housing_counselor/jinja2/housing_counselor/index.html +++ b/cfgov/housing_counselor/jinja2/housing_counselor/index.html @@ -315,7 +315,7 @@