You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltaspike.apache.org by "Armin Schaberl (JIRA)" <ji...@apache.org> on 2015/11/20 10:25:10 UTC

[jira] [Created] (DELTASPIKE-1030) Initial redirect does not encode URL properly

Armin Schaberl created DELTASPIKE-1030:
------------------------------------------

             Summary: Initial redirect does not encode URL properly
                 Key: DELTASPIKE-1030
                 URL: https://issues.apache.org/jira/browse/DELTASPIKE-1030
             Project: DeltaSpike
          Issue Type: Bug
          Components: JSF-Module
    Affects Versions: 1.5.1
         Environment: JBoss EAP 6.4.4
-Dorg.apache.catalina.connector.URI_ENCODING=UTF-8
            Reporter: Armin Schaberl


Unicode Parameters on the initial request to an application won't get encoded properly.
They are currently encoded by the response's default encoding (i.e. ISO8859-1). The encoding for the servers URL parameters could possible be another one. I.e. we are using a UTF-8 (due to vm parameter -Dorg.apache.catalina.connector.URI_ENCODING=UTF-8 on our JBoss EAP 6.4).
So Deltaspike generates a redirect URL to the same Application/Server with an incorrect encoding.

The test ist quite simple, just use parameters with German umlauts on the initial request to a server which supports UTF-8 URL parameters.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)