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

Maxim Wirt (JIRA) issues at jboss.org
Fri Jun 24 04:08:00 EDT 2016


     [ https://issues.jboss.org/browse/WFLY-6742?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Maxim Wirt updated WFLY-6742:
-----------------------------
    Attachment: визитка.svg


> 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: 8.2.0.Final, 10.0.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
>         Attachments: визитка.svg
>
>
> 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