SPR-6482 - @RequestMapping handled incorrectly when value contains "." (dot) character

git-svn-id: https://src.springframework.org/svn/spring-framework/trunk@2589 50f2f4bb-b051-0410-bef5-90022cba6387
This commit is contained in:
Arjen Poutsma
2009-12-07 13:59:07 +00:00
parent f83bd91ef3
commit b96070163e
4 changed files with 55 additions and 10 deletions
@@ -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);
}