Url suffix after dot is omitted [SPR-6518] #11184
Labels
in: web
Issues in web modules (web, webmvc, webflux, websocket)
status: invalid
An issue that we don't feel is valid
Ave Kar opened SPR-6518 and commented
Using
@Pathvariable
to pass in filenames omits the extension.i.e.: If passing in /admin/documents/foo.txt
@RequestMapping
("/admin/documents/{fileName}")public void foo(
@PathVariable
String fileName){
// fileName will come in as 'foo' instead of 'foo.txt'
}
Affects: 3.0 M4, 3.0 RC1, 3.0 RC2, 3.0 RC3
Reference URL: http://forum.springsource.org/showthread.php?t=77491
Issue Links:
@RequestMapping
,@PathVariable
, and GenericConversionServiceThe text was updated successfully, but these errors were encountered: