Hey Kimmo,
So it turns out that JBoss AS 7.0.2 (the bundle you were using) by default decodes the request.getPathInfo() with ISO-8859-1. Moreover, you are unable to configure the URL encoding of JBoss Web to UTF-8. This, of course, is a major problem.
In JBoss AS 7.1.x, RedHat added the necessary support (see
AS7-1917). So, you need to upgrade to JBoss AS 7.1.x (you can see what we do in the GITHub changes to
LPS-27173) and insert in your standalone.xml, after the <extensions /> block, the following:
<system-properties>
<property name="org.apache.catalina.connector.URI_ENCODING" value="UTF-8"/>
<property name="org.apache.catalina.connector.USE_BODY_ENCODING_FOR_QUERY_STRING" value="true"/>
</system-properties>
See this
forum and this
blog .
Also, FYI, I have made a patch so that when setting up with Liferay, we will try to ensure that is configured (
LPS-27483).
Alex