CommonsMultipartFile.getOriginalFilename() should be able to preserve header-specified filename as-is [SPR-14613] #19180
Comments
Juergen Hoeller commented I've added a corresponding |
This was referenced Jan 11, 2019
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Juergen Hoeller opened SPR-14613 and commented
getOriginalFilename()
explicitly strips path information from a Commons-FileUpload-given filename inCommonsMultipartFile
but just exposes the header-specified filename as-is inStandardMultipartFile
.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
The text was updated successfully, but these errors were encountered: