Skip to content

CommonsMultipartFile.getOriginalFilename() should be able to preserve header-specified filename as-is [SPR-14613] #19180

@spring-projects-issues

Description

@spring-projects-issues

Juergen Hoeller opened SPR-14613 and commented

getOriginalFilename() explicitly strips path information from a Commons-FileUpload-given filename in CommonsMultipartFile but just exposes the header-specified filename as-is in StandardMultipartFile.

Let's revisit what's actually necessary in 2016 and whether the behavior needs to be more consistent here.


Issue Links:

Referenced from: commits 5115c61, aa29495

1 votes, 2 watchers

Metadata

Metadata

Assignees

Labels

in: webIssues in web modules (web, webmvc, webflux, websocket)type: enhancementA general enhancement

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions