Skip to content

UrlPathHelper#removeJsessionid doesn't remove the jsessionid from the URL #26079

Closed
@jkissel

Description

@jkissel

Affects: v5.2.10


The fix for issue 25864 re-introduced the UrlPathHelper#removeJsessionid method which should fix broken request mappings when the jsessionid is included in the request URI and removeSemicolonContent is turned off.

Unfortunately it doesn't work: It doesn't remove the jsessionid from a URI like /test;jsessionid=12345, i.e. the result of removeJsessionid("/test;jsessionid=12345") is the input string. With v5.2.8 it's /test, which is correct.

Thx for your help to make the request mappings work again.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: backportedAn issue that has been backported to maintenance branchestype: regressionA bug that is also a regression

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions