aboutsummaryrefslogtreecommitdiffstats
path: root/server/sonar-webserver-auth
diff options
context:
space:
mode:
authorJeremy Davis <jeremy.davis@sonarsource.com>2024-10-14 11:01:10 +0200
committersonartech <sonartech@sonarsource.com>2024-10-22 20:03:09 +0000
commitdf6a4b8b61181bae40298a7031bb66af6373ebb7 (patch)
tree1be57d33d3d483f7b0ae41273c16d06dac417234 /server/sonar-webserver-auth
parent37d9d2491a688ba82b5c839a2279015826c9a28b (diff)
downloadsonarqube-df6a4b8b61181bae40298a7031bb66af6373ebb7.tar.gz
sonarqube-df6a4b8b61181bae40298a7031bb66af6373ebb7.zip
SONAR-23205 Migrate build system to vite
Diffstat (limited to 'server/sonar-webserver-auth')
-rw-r--r--server/sonar-webserver-auth/src/main/java/org/sonar/server/authentication/SamlValidationRedirectionFilter.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/server/sonar-webserver-auth/src/main/java/org/sonar/server/authentication/SamlValidationRedirectionFilter.java b/server/sonar-webserver-auth/src/main/java/org/sonar/server/authentication/SamlValidationRedirectionFilter.java
index f602608a42a..636e9e1ae38 100644
--- a/server/sonar-webserver-auth/src/main/java/org/sonar/server/authentication/SamlValidationRedirectionFilter.java
+++ b/server/sonar-webserver-auth/src/main/java/org/sonar/server/authentication/SamlValidationRedirectionFilter.java
@@ -84,7 +84,7 @@ public class SamlValidationRedirectionFilter extends HttpFilter {
String nonce = SamlValidationCspHeaders.addCspHeadersWithNonceToResponse(response);
String template = StringUtils.replaceEachRepeatedly(redirectionPageTemplate,
- new String[]{"%NONCE%", "%WEB_CONTEXT%", "%VALIDATION_URL%", "%SAML_RESPONSE%", "%CSRF_TOKEN%"},
+ new String[]{"%NONCE%", "WEB_CONTEXT", "%VALIDATION_URL%", "%SAML_RESPONSE%", "%CSRF_TOKEN%"},
new String[]{nonce, server.getContextPath(), redirectionEndpointUrl.toString(), samlResponse, csrfToken});
response.setContentType("text/html");