You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Aleksandr Mashchenko (JIRA)" <ji...@apache.org> on 2016/01/06 18:36:39 UTC

[jira] [Resolved] (WW-4583) JakartaStreamMultiPartRequest fails on short file name and on empty form

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

Aleksandr Mashchenko resolved WW-4583.
--------------------------------------
       Resolution: Fixed
    Fix Version/s:     (was: 2.5.x)
                   2.5

> JakartaStreamMultiPartRequest fails on short file name and on empty form
> ------------------------------------------------------------------------
>
>                 Key: WW-4583
>                 URL: https://issues.apache.org/jira/browse/WW-4583
>             Project: Struts 2
>          Issue Type: Bug
>    Affects Versions: 2.3.24
>            Reporter: Aleksandr Mashchenko
>            Assignee: Aleksandr Mashchenko
>             Fix For: 2.3.25, 2.5
>
>
> {{JakartaStreamMultiPartRequest}} will throw {{IllegalArgumentException}} with message "Prefix string too short" when trying to submit form with empty file input - [source|http://stackoverflow.com/q/34629223/1700321].
> Same exception will be thrown on submitting a file with name shorter than 3 characters.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)