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

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.3.5, 1.4-M3
    • 1.3.6, 1.4-RC2
    • wicket
    • None
    • 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-FileUpload-formatted.diff
          4 kB
          Steve Swinsburg
        2. patch-FileUpload.diff
          4 kB
          Bruno Borges
        3. patch-Files-formatted.diff
          2 kB
          Steve Swinsburg
        4. patch-Files.diff
          2 kB
          Bruno Borges

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: