[ 
https://issues.apache.org/jira/browse/WW-5285?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17694357#comment-17694357
 ] 

Lukasz Lenart commented on WW-5285:
-----------------------------------

Yes, it's a security option. And now I see WW-5266 can be implemented as there 
is a direct support in commons-fileupload, yet having this in interceptor is a 
bit too late, it must be also a global option to be applied once the 
MultipartParser is created.

> 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
>
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> 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)

Reply via email to