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

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

                Author: ASF GitHub Bot
            Created on: 11/Mar/23 09:13
            Start Date: 11/Mar/23 09:13
    Worklog Time Spent: 10m 
      Work Description: lukaszlenart commented on code in PR #665:
URL: https://github.com/apache/struts/pull/665#discussion_r1133057690


##########
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:
   Makes sense, and also this option somehow duplicates what we have on the 
interceptor level - so this is a global config, which takes precedence over the 
interceptor configuration.
   
   I would just comment out this line and use `null` as a indicator to mark 
this option disabled to match the same behaviour for other options.





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

    Worklog Id:     (was: 850424)
    Time Spent: 0.5h  (was: 20m)

> 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: 0.5h
>  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