[jboss-jira] [JBoss JIRA] (WFLY-6742) javax.servlet.http.Part.getSubmittedFileName() uses wrong encoding

Maxim Wirt (JIRA) issues at jboss.org
Fri Jun 17 10:46:01 EDT 2016


Maxim Wirt created WFLY-6742:
--------------------------------

             Summary: javax.servlet.http.Part.getSubmittedFileName() uses wrong encoding
                 Key: WFLY-6742
                 URL: https://issues.jboss.org/browse/WFLY-6742
             Project: WildFly
          Issue Type: Bug
          Components: Web (Undertow)
    Affects Versions: 10.0.0.Final, 8.2.0.Final
         Environment: Ubuntu 16.04 LTS
oracle java
java version "1.8.0_91"
Java(TM) SE Runtime Environment (build 1.8.0_91-b14)

Wildfly 8.2.0.Final
Wildfly 10.0.0.Final
            Reporter: Maxim Wirt
            Assignee: Stuart Douglas


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.



--
This message was sent by Atlassian JIRA
(v6.4.11#64026)


More information about the jboss-jira mailing list