struts-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Aaron Johnson (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (WW-4839) JakartaStreamMultiPartRequest Should Honor "struts.multipart.maxSize"
Date Fri, 04 Aug 2017 20:57:00 GMT

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

Aaron Johnson updated WW-4839:
------------------------------
    Description: 
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.

  was: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.


> 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
>
> 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