Make removal of jsessionid case insensitive

Issue: SPR-10398
This commit is contained in:
Rossen Stoyanchev
2013-05-14 22:06:59 -04:00
parent d23de282a6
commit a86283eb28
2 changed files with 8 additions and 4 deletions

View File

@@ -457,7 +457,7 @@ public class UrlPathHelper {
}
private String removeJsessionid(String requestUri) {
int startIndex = requestUri.indexOf(";jsessionid=");
int startIndex = requestUri.toLowerCase().indexOf(";jsessionid=");
if (startIndex != -1) {
int endIndex = requestUri.indexOf(';', startIndex + 12);
String start = requestUri.substring(0, startIndex);