[ 
https://issues.apache.org/jira/browse/WW-5266?focusedWorklogId=849430&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-849430
 ]

ASF GitHub Bot logged work on WW-5266:
--------------------------------------

                Author: ASF GitHub Bot
            Created on: 07/Mar/23 02:22
            Start Date: 07/Mar/23 02:22
    Worklog Time Spent: 10m 
      Work Description: kusalk commented on code in PR #665:
URL: https://github.com/apache/struts/pull/665#discussion_r1127272949


##########
core/src/main/resources/org/apache/struts2/default.properties:
##########
@@ -69,6 +69,7 @@ struts.multipart.parser=jakarta
 struts.multipart.saveDir=
 struts.multipart.maxSize=2097152
 struts.multipart.maxFiles=256
+struts.multipart.maxFileSize=2097152

Review Comment:
   We could always make this `-1` so it's unused by default and won't break 
backwards compatibility for existing Struts applications.





Issue Time Tracking
-------------------

    Worklog Id:     (was: 849430)
    Time Spent: 20m  (was: 10m)

> Add configuration option for a per-file max size for multipart requests
> -----------------------------------------------------------------------
>
>                 Key: WW-5266
>                 URL: https://issues.apache.org/jira/browse/WW-5266
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: Core
>            Reporter: Kusal Kithul-Godage
>            Priority: Minor
>             Fix For: 6.2.0
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> In addition to the existing `struts.multipart.maxSize`, allow the 
> configuration of a per-file max size using `struts.multipart.maxFileSize`



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to