Skip to content

Commit

Permalink
Merge pull request #172 from hmrc/DL-11782
Browse files Browse the repository at this point in the history
DL-11782 remove csp directive
  • Loading branch information
pankaj2453 authored Oct 2, 2023
2 parents 25fbbfd + 77e7f64 commit 5d61b72
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 4 deletions.
1 change: 0 additions & 1 deletion conf/application.conf
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,6 @@ tracking-consent-frontend{
gtm.container = "c"
}

play.filters.csp.directives.script-src= "'self' 'unsafe-inline' localhost:12345 localhost:9032 localhost:9250 www.google-analytics.com www.googletagmanager.com fonts.googleapis.com tagmanager.google.com ssl.gstatic.com www.gstatic.com fonts.gstatic.com data:"
play.filters.enabled += "play.filters.csp.CSPFilter"

resident-iForm {
Expand Down
4 changes: 2 additions & 2 deletions project/AppDependencies.scala
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ import play.core.PlayVersion

object AppDependencies {

lazy val bootstrapVersion = "7.14.0"
lazy val playFrontendVersion = "6.7.0-play-28"
lazy val bootstrapVersion = "7.22.0"
lazy val playFrontendVersion = "7.3.0-play-28"
lazy val playPartialsVersion = "8.3.0-play-28"
lazy val play2PdfVersion = "1.11.0"
lazy val jsonJodaVersion = "2.9.4"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ class SharesGainSummaryViewSpec extends CommonPlaySpec with WithCommonFakeApplic
)

lazy val taxYearModel = TaxYearModel("2016/17", true, "2016/17")
lazy val view = gainSummaryView(testModel, -100, taxYearModel, 150 , 11000, showUserResearchPanel = true)(fakeRequest, mockMessage, fakeLang)
lazy val view = gainSummaryView(testModel, -100, taxYearModel, 150 , 11000, showUserResearchPanel = false)(fakeRequest, mockMessage, fakeLang)
lazy val doc = Jsoup.parse(view.body)

"have a charset of UTF-8" in {
Expand Down

0 comments on commit 5d61b72

Please sign in to comment.