Removed jsession parameter in EntryPoints matching conditions
The ;jsession URI parameter is interfering EntryPointsHandler behaviour, causing that redirects when this variable is set don't work. FEA: ItEr75S04BugFixing
This commit is contained in:
parent
c364192df6
commit
13a8be679b
1 changed files with 6 additions and 1 deletions
|
|
@ -45,11 +45,16 @@ public class MatrixParameters {
|
|||
return extract(request.getRequestURI());
|
||||
}
|
||||
|
||||
/**
|
||||
* Extracts matrix parameters but skipping "jsessionid"
|
||||
*/
|
||||
public static Map<String, String> extract(String string) {
|
||||
Map<String, String> result = new HashMap<String, String>();
|
||||
Matcher matcher = matrixParamPattern.matcher(string);
|
||||
while (matcher.find()) {
|
||||
result.put(matcher.group(1), matcher.group(2));
|
||||
if (!matcher.group(1).equals("jsessionid")) {
|
||||
result.put(matcher.group(1), matcher.group(2));
|
||||
}
|
||||
}
|
||||
return result;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue