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 2022/09/14 19:01:00 UTC

[jira] [Closed] (WW-2043) Disable MultiPart request handling

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

Lukasz Lenart closed WW-2043.
-----------------------------
    Resolution: Fixed

> Disable MultiPart request handling
> ----------------------------------
>
>                 Key: WW-2043
>                 URL: https://issues.apache.org/jira/browse/WW-2043
>             Project: Struts 2
>          Issue Type: Improvement
>          Components: XML Configuration
>    Affects Versions: 2.0.8
>            Reporter: Oguz Kologlu
>            Priority: Minor
>             Fix For: 6.1.0
>
>
> Dispatcher will instantiate a MultiPartRequest class instance process the file upload regardless of whether it is wanted or not. A global setting to disable processing multipart requests should be available to stop unwanted file interception.
> This is especially important for mixed environments eg S1/S2 where S1 is expecting to handle the file upload.
> (Workaround for this is to implement your own MultiPartRequest class and do nothing with the upload stream).



--
This message was sent by Atlassian Jira
(v8.20.10#820010)