diff options
author | alain <108417558+alain-kermis-sonarsource@users.noreply.github.com> | 2022-11-29 14:12:45 +0100 |
---|---|---|
committer | sonartech <sonartech@sonarsource.com> | 2022-11-29 20:02:49 +0000 |
commit | 78237483c658e35f35bf5044e2c4aa0b8993ba2a (patch) | |
tree | 8683b6b4b2ac68fa83111e90d85fb9034b2f6f8f /server/sonar-web/public | |
parent | 2d5f569fbd355600f35d53a3158f59feeb6fa919 (diff) | |
download | sonarqube-78237483c658e35f35bf5044e2c4aa0b8993ba2a.tar.gz sonarqube-78237483c658e35f35bf5044e2c4aa0b8993ba2a.zip |
SONAR-17619 Fix SSF-157
Diffstat (limited to 'server/sonar-web/public')
-rw-r--r-- | server/sonar-web/public/WEB-INF/web.xml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/server/sonar-web/public/WEB-INF/web.xml b/server/sonar-web/public/WEB-INF/web.xml index da4795bfbef..6ee3d23b5fa 100644 --- a/server/sonar-web/public/WEB-INF/web.xml +++ b/server/sonar-web/public/WEB-INF/web.xml @@ -57,6 +57,11 @@ <filter-class>org.sonar.server.platform.web.CacheControlFilter</filter-class> <async-supported>true</async-supported> </filter> + <filter> + <filter-name>CspFilter</filter-name> + <filter-class>org.sonar.server.platform.web.CspFilter</filter-class> + <async-supported>true</async-supported> + </filter> <!-- order of execution is important --> <filter-mapping> @@ -84,6 +89,10 @@ <url-pattern>/*</url-pattern> </filter-mapping> <filter-mapping> + <filter-name>CspFilter</filter-name> + <url-pattern>/*</url-pattern> + </filter-mapping> + <filter-mapping> <filter-name>UserSessionFilter</filter-name> <url-pattern>/*</url-pattern> </filter-mapping> |