-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: bugA general bugA general bug
Milestone
Description
Richard Larson opened SPR-7471 and commented
Using spring 3.0.4.BUILD-SNAPSHOT on August 18 2010, redirected views that include a question mark (and possibly other special characters) have the question mark url encoded which causes the url to no longer work. This bug was introduced probably as a result of the fix for #12085
https://jira.springframework.org/browse/SPR-7427
For example:
redirect:some/path/foo.html?id=1
would be incorrectly encoded as:
some/path/foo.html%3Fid=1
Possibly the encodeUrl method should know how to separately encode the path portion of the url separately from the parameters ?
Affects: 3.0.4
Issue Links:
- URL in a redirect is not escaped by RedirectView [SPR-7427] #12085 URL in a redirect is not escaped by RedirectView
Referenced from: commits 001d676
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)type: bugA general bugA general bug