Uploaded image for project: 'Wicket'
  1. Wicket
  2. WICKET-5735

Propagate fileSizeMax attribute to org.apache.commons.fileupload.FileUploadBase

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 6.18.0, 7.0.0-M4
    • Component/s: wicket
    • Labels:
      None

      Description

      Wicket's MultipartServletWebRequestImpl uses commons ServletFileUpload internally, but there is no way to configure this component, for example to propagate fileSizeMax inside.

      As supposed in http://apache-wicket.1842946.n4.nabble.com/org-apache-wicket-util-upload-FileUploadBase-fileSizeMax-td4668001.html there should be implemented:

      1) add Form#fileSizeMax and pass it to MultipartServletWebRequest
      2) add MultipartServletWebRequestImpl#newFileUpload(FileItemFactory)

        Attachments

          Activity

            People

            • Assignee:
              mgrigorov Martin Grigorov
              Reporter:
              bravehorsie Roman Grigoriadi
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: