]> source.dussan.org Git - sonarqube.git/commit
SONAR-7713 SONAR-7733 Context path of cookies is now always "/"
authorJulien Lancelot <julien.lancelot@sonarsource.com>
Fri, 17 Jun 2016 11:30:13 +0000 (13:30 +0200)
committerJulien Lancelot <julien.lancelot@sonarsource.com>
Fri, 17 Jun 2016 11:30:13 +0000 (13:30 +0200)
commit0e78a4642c9747f0b16a522118086b2d9e7f452c
treeb2642d9bd617aa12f21911e37f13ef6579b04dc4
parentec6ea3885787c70831980ab5291e17a8ffe4f80f
SONAR-7713 SONAR-7733 Context path of cookies is now always "/"

 It's useless to set the context path of cookies to the web context.
 Moreover, settings the web context in cookie's path will prevent rails to remove the cookie as it's only using '/'
server/sonar-server/src/main/java/org/sonar/server/authentication/JwtCsrfVerifier.java
server/sonar-server/src/main/java/org/sonar/server/authentication/JwtHttpHandler.java
server/sonar-server/src/test/java/org/sonar/server/authentication/JwtCsrfVerifierTest.java
server/sonar-server/src/test/java/org/sonar/server/authentication/JwtHttpHandlerTest.java