Uploaded image for project: 'Struts 2'
  1. Struts 2
  2. WW-1549

File upload with JakartaMultipartRequest fails if file size less than DiskFileItem.sizeThreshold

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • 2.0.10, 2.1.0
    • 2.0.2
    • Core Interceptors
    • None
    • Win XP, J2SE 1.5.0_08, struts-core-2.0.2-SNAPSHOT (Dec 07)

    • Patch

    Description

      commons-fileupload DiskFileItem will not write any data to the file system until its sizeThreshold has been reached. This is not considered in JakartaMultipartRequest. It should check this when getting the File object that is later injected to an Action.

      Attachments

        1. s2_28850.patch.gz
          0.7 kB
          Tomas Carlsson
        2. s2_28850_v2.patch
          1 kB
          Tomas Carlsson

        Activity

          People

            mrdon Donald J. Brown
            tompa Tomas Carlsson
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: