]
Maxim Wirt commented on WFLY-6742:
----------------------------------
<html><body><form action="/file" multiple="yes"
enctype="multipart/form-data">
<input type="file" name="file"/>
<input type="submit" value=" OK "/>
</form></body></html>
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.