Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
[doc] Document urlDecode=false implies alwaysUseFullPath=true [SPR-15643] #20202
#15727 made some changes to the URL processing, which seem to work for most of the cases, but not for 1 specific case: encoded backslashes in paths.
I have a
I should probably set
P.S., Tomcat is running with the options necessary to support
Referenced from: commits e37af83
Rossen Stoyanchev commented
What would we re-write actually, the "pathWithinApp"? That should be encoded at that point (it's based on
We're making some changes on the WebFlux side (see #20207) that may help on the Spring MVC side as well. So I'm setting for RC3. In the very least we need to better document the use of urlDecode=false or hopefully ew can improve it.
Mike Noordermeer commented
I think the only problem remaining is that Tomcat rewrites an encoded backslash to a slash. So this line:
fails to get the path, as it compares
I'm not sure if it is fixable, maybe a backslash could be treated as being equal to a slash somewhere?
At the same time, I have to say that using