aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-web
diff options
context:
space:
mode:
Diffstat (limited to 'server/sonar-web')
-rw-r--r--server/sonar-web/public/WEB-INF/web.xml9
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 6ee3d23b5fa..91e874831eb 100644
--- a/server/sonar-web/public/WEB-INF/web.xml
+++ b/server/sonar-web/public/WEB-INF/web.xml
@@ -62,6 +62,11 @@
<filter-class>org.sonar.server.platform.web.CspFilter</filter-class>
<async-supported>true</async-supported>
</filter>
+ <filter>
+ <filter-name>EndpointPathFilter</filter-name>
+ <filter-class>org.sonar.server.platform.web.EndpointPathFilter</filter-class>
+ <async-supported>true</async-supported>
+ </filter>
<!-- order of execution is important -->
<filter-mapping>
@@ -77,6 +82,10 @@
<url-pattern>/*</url-pattern>
</filter-mapping>
<filter-mapping>
+ <filter-name>EndpointPathFilter</filter-name>
+ <url-pattern>/*</url-pattern>
+ </filter-mapping>
+ <filter-mapping>
<filter-name>RedirectFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>