ALAN S created WW-5874:
--------------------------

             Summary: struts.multipart.maxStringLength does not bound memory 
used for multipart form fields
                 Key: WW-5874
                 URL: https://issues.apache.org/jira/browse/WW-5874
             Project: Struts 2
          Issue Type: Bug
          Components: Core
    Affects Versions: 7.5.0
            Reporter: ALAN S


{\{JakartaStreamMultiPartRequest}} reads each form field fully into memory and 
builds the whole \{{String}} before checking 
\{{struts.multipart.maxStringLength}}. The limit rejects the value but does not 
bound the memory used to read it.

The field should be decoded as it is read, keeping at most \{{maxStringLength}} 
characters.



--
This message was sent by Atlassian Jira
(v10.3.26#10030026)

Reply via email to