struts-issues mailing list archives

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

    [ https://issues.apache.org/jira/browse/WW-4839?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16114967#comment-16114967
] 

ASF GitHub Bot commented on WW-4839:
------------------------------------

GitHub user swiftelan opened a pull request:

    https://github.com/apache/struts/pull/160

    WW-4839 JakartaStreamMultiPartRequest Should Honor "struts.multipart.…

    [WW-4839](https://issues.apache.org/jira/browse/WW-4839) JakartaStreamMultiPartRequest
Should Honor "struts.multipart.maxSize" when content length is unknown.
    


You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/swiftelan/struts WW-4839

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/struts/pull/160.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #160
    
----
commit eb0137168f0c0e09a1ef6532965ffc1634a36291
Author: Aaron Johnson <johnson.aaron5@gmail.com>
Date:   2017-08-04T20:58:23Z

    WW-4839 JakartaStreamMultiPartRequest Should Honor "struts.multipart.maxSize"

----


> 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