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

Jochen Wiedmann resolved FILEUPLOAD-269.
----------------------------------------
    Resolution: Invalid

> CommonsFileUploadSupport ignores fileSizeMax 
> ---------------------------------------------
>
>                 Key: FILEUPLOAD-269
>                 URL: https://issues.apache.org/jira/browse/FILEUPLOAD-269
>             Project: Commons FileUpload
>          Issue Type: Bug
>    Affects Versions: 1.3.1
>            Reporter: Sergiu Ojog
>            Priority: Minor
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> Code:
>         long fileSizeMax = 1024*1024;
>         CommonsMultipartResolver commonsMultipartResolver = new 
> CommonsMultipartResolver(servletContext);
>       commonsMultipartResolver.getFileUpload().setFileSizeMax(fileSizeMax);
>         commonsMultipartResolver.resolveMultipart(request);
> Observed:
>         The fileSizeMax is not used, 
> CommonsFileUploadSupport.prepareFileUpload creates a new FileUpload and does 
> not propagate the existing fileSizeMax.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to