[
https://issues.apache.org/jira/browse/TOMEE-1063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Kristof Neirynck resolved TOMEE-1063.
-------------------------------------
Resolution: Not A Problem
It works now.
These are the magic steps to make it work:
* Add a Content-Type: text/html; charset=UTF-8 header to all Faces Servlet
responses with a filter
* Add URIEncoding="UTF-8" useBodyEncodingForURI="false" attributes to the HTTP
Connector in server.xml
* Add -Dfile.encoding=UTF-8 to have UTF-8 in logfiles (optional)
> URL encoding problems when using ?faces-redirect=true&includeViewParams=true
> ----------------------------------------------------------------------------
>
> Key: TOMEE-1063
> URL: https://issues.apache.org/jira/browse/TOMEE-1063
> Project: TomEE
> Issue Type: Bug
> Affects Versions: 1.5.2, 1.5.3, 1.6.0
> Reporter: Kristof Neirynck
>
> This is basicly the same bug as
> https://java.net/jira/browse/JAVASERVERFACES-2440
> I've created a simple testproject for it here:
> https://github.com/Crydust/facesredirect
> 1. submit a field with an umlaut or other unicode character
> 2. return to the view with ?faces-redirect=true&includeViewParams=true
> 3. the url contains a wrongly encoded string
> 4. the value of the viewParam is also wrongly encoded now
> This can be reproduced on TomEE 1.5.2, 1.5.3-SNAPSHOT, 1.6.0-SNAPSHOT and
> even Glassfish 3.1.2.2.
> This seems to work correctly on JBoss eap 6.1 and Glassfish 4.0.
--
This message was sent by Atlassian JIRA
(v6.1#6144)