-
Notifications
You must be signed in to change notification settings - Fork 38.8k
Closed
Closed
Copy link
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: duplicateA duplicate of another issueA duplicate of another issue
Description
Martin Desrosiers opened SPR-6231 and commented
The change made in #10208 effectively strips any file extension in GET requests in order to exclude it from the path variable value. Unfortunately, this prevents queries that contains dots as part of the path variable, i.e. an email address. Therefore the following request:
http://localhost:8080/rest/emailaddress/email/test%40mail.com
with the following controller request mapping:
@RequestMapping(value = "/email/{email}", method = RequestMethod.GET)
public ModelAndView getEmail(@PathVariable("email") final String email) {
}
will map the value "test@mail" to the variable email.
Affects: 3.0 RC1
Issue Links:
- a Uri Value is incorrectly extracted if it contains '.'. [SPR-6164] #10832 a Uri Value is incorrectly extracted if it contains '.'. ("duplicates")
- ReSTful URLs with content type extension do not work properly [SPR-5537] #10208 ReSTful URLs with content type extension do not work properly
Metadata
Metadata
Assignees
Labels
in: webIssues in web modules (web, webmvc, webflux, websocket)Issues in web modules (web, webmvc, webflux, websocket)status: duplicateA duplicate of another issueA duplicate of another issue