Skip to content

Clean duplicate slash and backslash in resource URLs [SPR-16616] #21157

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
spring-projects-issues opened this issue Mar 19, 2018 · 0 comments
Closed
Assignees
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) status: backported An issue that has been backported to maintenance branches type: task A general task
Milestone

Comments

@spring-projects-issues
Copy link
Collaborator

Rossen Stoyanchev opened SPR-16616 and commented

Most Servlet containers clean the Servlet path, but not all do, and not all do it consistently for forward and backslashes. We should proactively clean the path, in order to improve the impact of the path validation checks we already have in place.


Affects: 4.3.14

Referenced from: commits 695bf29, f046a06, 98ad23b, f59ea61, b9ebdaa, 13356a7, 91b803a, 0e28bee

Backported to: 4.3.15

@spring-projects-issues spring-projects-issues added status: backported An issue that has been backported to maintenance branches in: web Issues in web modules (web, webmvc, webflux, websocket) type: task A general task labels Jan 11, 2019
@spring-projects-issues spring-projects-issues added this to the 5.0.5 milestone Jan 11, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
in: web Issues in web modules (web, webmvc, webflux, websocket) status: backported An issue that has been backported to maintenance branches type: task A general task
Projects
None yet
Development

No branches or pull requests

2 participants