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

FileUpload.writeToTempFile uses field Id as filename - Windows doesn't support some characters

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.3.5, 1.4-M3
    • Fix Version/s: 1.3.6, 1.4-RC2
    • Component/s: wicket
    • Labels:
      None
    • Environment:
      Windows

      Description

      The component FileUpload tries to create a temporary file using the multipart fieldname's id.

      That id has invalid characters - not supported on Windows environments, for example.

        Attachments

        1. patch-Files.diff
          2 kB
          Bruno Borges
        2. patch-Files-formatted.diff
          2 kB
          Steve Swinsburg
        3. patch-FileUpload.diff
          4 kB
          Bruno Borges
        4. patch-FileUpload-formatted.diff
          4 kB
          Steve Swinsburg

          Activity

            People

            • Assignee:
              ivaynberg Igor Vaynberg
              Reporter:
              miojo Bruno Borges
            • Votes:
              1 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: