Skip to content

Url suffix after dot is omitted [SPR-6518] #11184

@spring-projects-issues

Description

@spring-projects-issues

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:

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)status: invalidAn issue that we don't feel is valid

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions