SPR-6482 - @RequestMapping handled incorrectly when value contains "." (dot) character
This commit is contained in:
@@ -398,7 +398,7 @@ public class UriTemplateServletAnnotationControllerTests {
|
||||
@RequestMapping("hotels")
|
||||
public static class ImplicitSubPathController {
|
||||
|
||||
@RequestMapping("{hotel:.*}")
|
||||
@RequestMapping("{hotel}")
|
||||
public void handleHotel(@PathVariable String hotel, Writer writer) throws IOException {
|
||||
writer.write("test-" + hotel);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user