You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Lukasz Lenart (JIRA)" <ji...@apache.org> on 2017/08/07 06:20:00 UTC
[jira] [Resolved] (WW-4839) JakartaStreamMultiPartRequest Should
Honor "struts.multipart.maxSize"
[ 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)