Sergiu Ojog created FILEUPLOAD-269:
--------------------------------------

             Summary: 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


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
(v6.3.4#6332)

Reply via email to