Uploaded image for project: 'WildFly'
  1. WildFly
  2. WFLY-6742

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

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 10.1.0.Final
    • 8.2.0.Final, 10.0.0.Final
    • Web (Undertow)
    • 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
            maximwirt Maxim Wirt (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: