Struts 2
  1. Struts 2
  2. WW-3802

FileUploadInterceptor makes CGI Parameter temporary files

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.3.1.2
    • Fix Version/s: 2.3.7
    • Component/s: Core Interceptors
    • Labels:
      None
    • Environment:

      JDK 1.6.0_31, Tomcat 7.0.25

      Description

      I uploaded file with cgi parameters.
      CGI parameter became a temporary file,
      and those files were not removed.

      FileUploadInterceptor makes not only upload file
      but also CGI Parameter temporary files.
      CGI Parameter temporary files are not removed.

      for example ...

      <form action="..." method="post" enctype="multipart/form-data">
      <input type="file" name="uploadFile" />
      <input type="text" name="data1" value="FOO"/>
      <input type="text" name="data2" value="BAR"/>
      </form>

      remained tmp files.

      [upload_47c7ddf7_136bf8a8b3b__8000_00000002.tmp]
      FOO

      [upload_47c7ddf7_136bf8a8b3b__8000_00000003.tmp]
      BAR

        Activity

          People

          • Assignee:
            Lukasz Lenart
            Reporter:
            macha64
          • Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development