Uploaded image for project: 'Undertow'
  1. Undertow
  2. UNDERTOW-763

javax.servlet.http.Part.getSubmittedFileName() uses wrong encoding

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 2.0.0.Beta1, 1.4.0.Final
    • 1.3.23.Final
    • None
    • None

      Servlet 3.1 file upload feature implementation uses incorrect character set for decoding file names

      request.getCharacterEncoding() returns "UTF-8",
      System property file.encoding is set to UTF-8, but

      javax.servlet.http.Part.getSubmittedFileName() returns file name encoded using Latin character set
      all non-latin symbols in name of the file become unreadably characters.

              sdouglas1@redhat.com Stuart Douglas (Inactive)
              maximwirt Maxim Wirt (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: