struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Lukasz Lenart (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (WW-4839) JakartaStreamMultiPartRequest Should Honor "struts.multipart.maxSize"
Date Mon, 07 Aug 2017 06:20:00 GMT

     [ https://issues.apache.org/jira/browse/WW-4839?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Lukasz Lenart resolved WW-4839.
-------------------------------
    Resolution: Fixed

PR got merged, thanks a lot!

> JakartaStreamMultiPartRequest Should Honor "struts.multipart.maxSize"
> ---------------------------------------------------------------------
>
>                 Key: WW-4839
>                 URL: https://issues.apache.org/jira/browse/WW-4839
>             Project: Struts 2
>          Issue Type: Bug
>          Components: Core Interceptors, Dispatch Filter
>    Affects Versions: 2.5.12
>            Reporter: Aaron Johnson
>            Priority: Minor
>             Fix For: 2.5.13
>
>
> The {{JakartaStreamMultiPartRequest}} does not honor the maximum request size configuration
in the {{struts.multipart.maxSize}} property when [ServletRequest.getContentLength()|http://docs.oracle.com/javaee/7/api/javax/servlet/ServletRequest.html#getContentLength--]
returns -1.
> Note: [ServletRequest.getContentLengthLong()|http://docs.oracle.com/javaee/7/api/javax/servlet/ServletRequest.html#getContentLengthLong--]
is available in Servlet API 3.1.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message