EAP 6 reads multipart/form-data with incorrect encoding
Issue
- We post some UTF-8 multipart/form-data to JBoss. Parameters are not read by JBoss with the correct encoding. For instance, the below results in garbled text read from the request parameter:
request.setCharacterEncoding("UTF-8");
request.getParts()
String text = request.getParameter("sometextfield");
Environment
- JBoss Enterprise Application Platform (EAP) 6.x
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
