Closed
Description
Juergen Hoeller opened SPR-14638 and commented
While we added support for setFileSizeMax
in the form of setMaxUploadSizePerFile
on CommonsFileUploadSupport
in Spring 4.2, we did not add corresponding translation of FileSizeLimitExceededException
. Let's close that gap for 4.2.8 / 4.3.3.
Affects: 4.2.7, 4.3.2
Issue Links:
- CommonsMultipartResolver.setMaxUploadSizePerFile() does not work if encoding does not match the default encoding [SPR-13653] #18229 CommonsMultipartResolver.setMaxUploadSizePerFile() does not work if encoding does not match the default encoding
- StandardServletMultipartResolver should support MaxUploadSizeExceededException against common servers [SPR-9294] #13932 StandardServletMultipartResolver should support MaxUploadSizeExceededException against common servers
- CommonsMultipartResolver should support setFileSizeMax [SPR-13200] #17792 CommonsMultipartResolver should support setFileSizeMax
Referenced from: commits 05f74b4, e76ed49, 58ffca7
Backported to: 4.2.8