- 
                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)status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently apply
Description
Jeff Conrad opened SPR-11220 and commented
I was attempting to resolve a URL coming in from googlebot which had double-slashes, "//".
It doesn't seem like @RequestMapping annotation is handling these explicitly as one would expect.
Attached is a test case @Controller, a running shell script, and the output.  The output indicates that double-slash requests are also accepting single-slash inputs, force-removing the difference between double and single slash on the controller side.
Affects: 3.0.5
Attachments:
- slash.out (163 bytes)
- slash.sh (163 bytes)
- SlashTestController.java (1.83 kB)
Issue Links:
- Two trailing slashes and the default servlet cannot resolve to a controller [SPR-12372] #16979 Two trailing slashes and the default servlet cannot resolve to a controller
1 votes, 4 watchers
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: declinedA suggestion or change that we don't feel we should currently applyA suggestion or change that we don't feel we should currently apply