Commons FileUpload1.21和1.3版本 升级到Commons FileUpload1.5上传图片出错。
根据Apache Commons FileUpload 拒绝服务漏洞(CVE-2023-24998)风险提示。我将Commons FileUpload1.21和1.3版本 升级到Commons FileUpload1.5。
但升级后出现了问题:
fck富文本编辑器中,图片上传只能上传10Kb以内的图片
Commons FileUpload1.5 的 RELEASE-NOTES.txt显示
Apache Commons FileUpload 1.5 RELEASE NOTES
The Apache Commons FileUpload team is pleased to announce the release of Apache Commons FileUpload 1.5.
The Apache Commons FileUpload component provides a simple yet flexible means of
adding support for multipart file upload functionality to servlets and web
applications. Version 1.3 onwards requires Java 6 or later.No client code changes are required to migrate from version 1.4 to 1.5.
Changes in version 1.5 include:
New features:
o Add a configurable limit (disabled by default) for the number of files to upload per request.