You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2023/02/25 09:43:00 UTC
[jira] [Commented] (WW-5285) Upgrade commons-fileupload to ver 1.5 and add option to limit number of accepted files
[ https://issues.apache.org/jira/browse/WW-5285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17693452#comment-17693452 ]
ASF subversion and git services commented on WW-5285:
-----------------------------------------------------
Commit ca637ef70ccecfc22b6549d8faf78110be17e51e in struts's branch refs/heads/WW-5285-max-files from Lukasz Lenart
[ https://gitbox.apache.org/repos/asf?p=struts.git;h=ca637ef70 ]
WW-5285 Limits max number of files to upload at once
Upgrades commons-fileupload to ver. 1.5 and sets default limit to 256 files
> Upgrade commons-fileupload to ver 1.5 and add option to limit number of accepted files
> --------------------------------------------------------------------------------------
>
> Key: WW-5285
> URL: https://issues.apache.org/jira/browse/WW-5285
> Project: Struts 2
> Issue Type: Improvement
> Components: Core
> Reporter: Lukasz Lenart
> Assignee: Lukasz Lenart
> Priority: Major
> Fix For: 6.2.0
>
>
> With a new version of commons-fileupload a new option has been added to limit number of uploaded files (not size, but number). It would be good to support this in Struts as well by adding a new constant "struts.multipart.maxFiles"
> [https://github.com/apache/commons-fileupload/pull/185]
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)