Skip to content

fix(upload): update commons-fileupload API and add IOException handling#3079

Merged
marevol merged 1 commit intomasterfrom
fix/update-fileupload-api
Mar 15, 2026
Merged

fix(upload): update commons-fileupload API and add IOException handling#3079
marevol merged 1 commit intomasterfrom
fix/update-fileupload-api

Conversation

@marevol
Copy link
Contributor

@marevol marevol commented Mar 15, 2026

Summary

  • Update deprecated setSizeMax()/setFileCountMax() to setMaxSize()/setMaxFileCount() in FessMultipartRequestHandler
  • Add IOException handling for DiskFileItem.getString() calls to match the updated commons-fileupload API

Test plan

  • Verify multipart file upload works correctly in admin pages
  • Confirm form parameters with non-ASCII characters are handled properly

🤖 Generated with Claude Code

Update deprecated setSizeMax/setFileCountMax to setMaxSize/setMaxFileCount
and handle IOException from DiskFileItem.getString() after API change.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@marevol marevol self-assigned this Mar 15, 2026
@marevol marevol added this to the 15.6.0 milestone Mar 15, 2026
@marevol marevol merged commit 40e1114 into master Mar 15, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant