From 99810e1ab5959eea5768f97d6c234eee0ba2e6f0 Mon Sep 17 00:00:00 2001 From: Sri Harsha Kancharla Date: Mon, 8 Aug 2022 20:41:42 +0530 Subject: [PATCH] Merge pull request #231 from OpsMx/bugfix/OP-16541-4-0-csp --- .../groovy/com/netflix/spinnaker/gate/config/AuthConfig.groovy | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gate-core/src/main/groovy/com/netflix/spinnaker/gate/config/AuthConfig.groovy b/gate-core/src/main/groovy/com/netflix/spinnaker/gate/config/AuthConfig.groovy index e44d9c9588..9072bb3939 100644 --- a/gate-core/src/main/groovy/com/netflix/spinnaker/gate/config/AuthConfig.groovy +++ b/gate-core/src/main/groovy/com/netflix/spinnaker/gate/config/AuthConfig.groovy @@ -94,7 +94,7 @@ class AuthConfig { @Value('${allowUnauthenticatedAccess.webhooks:false}') boolean isSpinnakerWebhooksUnauthenticatedAccessEnabled - @Value('${security.contentSecurityPolicy:object-src \'none\'; script-src \'unsafe-eval\' \'unsafe-inline\' https: http:;}') + @Value('${security.contentSecurityPolicy:\'object-src \'none\'; script-src \'unsafe-eval\' \'unsafe-inline\' https: http:;\'}') String contentSecurityPolicy void configure(HttpSecurity http) throws Exception {