Skip to content

Commit

Permalink
Merge pull request #336 from alphagov/revert-csp-change-ash
Browse files Browse the repository at this point in the history
Revert "Add GOVUK domains to script src CSP"
  • Loading branch information
AshGDS committed Dec 21, 2023
2 parents bba0e4b + 1416331 commit 775358a
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
# 9.8.1

* Revert "Add GOVUK domains to script src CSP" ([#336](https://github.com/alphagov/govuk_app_config/pull/336))

# 9.8.0

* Add GOVUK domains to script src CSP ([#334](https://github.com/alphagov/govuk_app_config/pull/334))
Expand Down
1 change: 0 additions & 1 deletion lib/govuk_app_config/govuk_content_security_policy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,6 @@ def self.build_policy(policy)
policy.script_src :self,
*GOOGLE_ANALYTICS_DOMAINS,
*GOOGLE_STATIC_DOMAINS,
*GOVUK_DOMAINS,
# Allow YouTube Embeds (Govspeak turns YouTube links into embeds)
"*.ytimg.com",
"www.youtube.com",
Expand Down
2 changes: 1 addition & 1 deletion lib/govuk_app_config/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module GovukAppConfig
VERSION = "9.8.0".freeze
VERSION = "9.8.1".freeze
end

0 comments on commit 775358a

Please sign in to comment.