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

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

    XMLWordPrintable

Details

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

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: