Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

CommonsMultipartResolver should explicitly convert FileSizeLimitExceededException next to SizeLimitExceededException [SPR-14638] #19204

Closed
spring-projects-issues opened this issue Aug 29, 2016 · 0 comments

Comments

@spring-projects-issues
Copy link
Collaborator

@spring-projects-issues spring-projects-issues commented Aug 29, 2016

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:

  • #18229 CommonsMultipartResolver.setMaxUploadSizePerFile() does not work if encoding does not match the default encoding
  • #13932 StandardServletMultipartResolver should support MaxUploadSizeExceededException against common servers
  • #17792 CommonsMultipartResolver should support setFileSizeMax

Referenced from: commits 05f74b4, e76ed49, 58ffca7

Backported to: 4.2.8

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants