You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@struts.apache.org by "Denis Cabasson (Created) (JIRA)" <ji...@apache.org> on 2012/02/06 22:27:01 UTC
[jira] [Created] (WW-3752) Charset encoding incorrect when using
parameters in ServletRedirectResult
Charset encoding incorrect when using parameters in ServletRedirectResult
-------------------------------------------------------------------------
Key: WW-3752
URL: https://issues.apache.org/jira/browse/WW-3752
Project: Struts 2
Issue Type: Bug
Components: Dispatch Filter
Affects Versions: 2.3.1.1
Environment: Tomcat 6
Reporter: Denis Cabasson
See attached test case
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (WW-3752) Charset encoding incorrect when using
parameters in ServletRedirectResult
Posted by "Denis Cabasson (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WW-3752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Denis Cabasson updated WW-3752:
-------------------------------
Attachment: WW-3752.zip
a test case for the issue, based on the struts2-archetype-blank. Just go to http://localhost:8080/WW-3752/ and follow the 2 links at the bottom. The first one with ASCII parameters works fine, the second not.
> Charset encoding incorrect when using parameters in ServletRedirectResult
> -------------------------------------------------------------------------
>
> Key: WW-3752
> URL: https://issues.apache.org/jira/browse/WW-3752
> Project: Struts 2
> Issue Type: Bug
> Components: Dispatch Filter
> Affects Versions: 2.3.1.1
> Environment: Tomcat 6
> Reporter: Denis Cabasson
> Attachments: WW-3752.zip
>
>
> See attached test case
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (WW-3752) Charset encoding incorrect when using
parameters in ServletRedirectResult
Posted by "Lukasz Lenart (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WW-3752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Lukasz Lenart updated WW-3752:
------------------------------
Fix Version/s: 2.3.7
> Charset encoding incorrect when using parameters in ServletRedirectResult
> -------------------------------------------------------------------------
>
> Key: WW-3752
> URL: https://issues.apache.org/jira/browse/WW-3752
> Project: Struts 2
> Issue Type: Bug
> Components: Dispatch Filter
> Affects Versions: 2.3.1.1
> Environment: Tomcat 6
> Reporter: Denis Cabasson
> Fix For: 2.3.7
>
> Attachments: WW-3752.zip
>
>
> See attached test case.
> The issue seems to be that when using some parameters with a ServletRedirectResult, they get encoded twice in UTF-8 : once in UrlHelper.buildParametersString and a second time in response.encodeRedirectURL.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Issue Comment Edited] (WW-3752) Charset encoding incorrect
when using parameters in ServletRedirectResult
Posted by "Denis Cabasson (Issue Comment Edited) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WW-3752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13201642#comment-13201642 ]
Denis Cabasson edited comment on WW-3752 at 2/6/12 9:57 PM:
------------------------------------------------------------
a test case for the issue, based on the struts2-archetype-blank. Just go to http://localhost:8080/WW-3752/example/HelloWorld and follow the 2 links at the bottom. The first one with ASCII parameters works fine, the second not.
was (Author: dcabasson):
a test case for the issue, based on the struts2-archetype-blank. Just go to http://localhost:8080/WW-3752/ and follow the 2 links at the bottom. The first one with ASCII parameters works fine, the second not.
> Charset encoding incorrect when using parameters in ServletRedirectResult
> -------------------------------------------------------------------------
>
> Key: WW-3752
> URL: https://issues.apache.org/jira/browse/WW-3752
> Project: Struts 2
> Issue Type: Bug
> Components: Dispatch Filter
> Affects Versions: 2.3.1.1
> Environment: Tomcat 6
> Reporter: Denis Cabasson
> Attachments: WW-3752.zip
>
>
> See attached test case.
> The issue seems to be that when using some parameters with a ServletRedirectResult, they get encoded twice in UTF-8 : once in UrlHelper.buildParametersString and a second time in response.encodeRedirectURL.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (WW-3752) Charset encoding incorrect when using
parameters in ServletRedirectResult
Posted by "Denis Cabasson (Commented) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WW-3752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13201648#comment-13201648 ]
Denis Cabasson commented on WW-3752:
------------------------------------
Apparently, the bug occurs in Tomcat 6.0.32 (which I am using), but not in jetty 6.1.21. I will upgrade my Tomcat and see if the issue is still there in the latest version of Tomcat.
> Charset encoding incorrect when using parameters in ServletRedirectResult
> -------------------------------------------------------------------------
>
> Key: WW-3752
> URL: https://issues.apache.org/jira/browse/WW-3752
> Project: Struts 2
> Issue Type: Bug
> Components: Dispatch Filter
> Affects Versions: 2.3.1.1
> Environment: Tomcat 6
> Reporter: Denis Cabasson
> Attachments: WW-3752.zip
>
>
> See attached test case.
> The issue seems to be that when using some parameters with a ServletRedirectResult, they get encoded twice in UTF-8 : once in UrlHelper.buildParametersString and a second time in response.encodeRedirectURL.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Updated] (WW-3752) Charset encoding incorrect when using
parameters in ServletRedirectResult
Posted by "Denis Cabasson (Updated) (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WW-3752?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Denis Cabasson updated WW-3752:
-------------------------------
Description:
See attached test case.
The issue seems to be that when using some parameters with a ServletRedirectResult, they get encoded twice in UTF-8 : once in UrlHelper.buildParametersString and a second time in response.encodeRedirectURL.
was:See attached test case
> Charset encoding incorrect when using parameters in ServletRedirectResult
> -------------------------------------------------------------------------
>
> Key: WW-3752
> URL: https://issues.apache.org/jira/browse/WW-3752
> Project: Struts 2
> Issue Type: Bug
> Components: Dispatch Filter
> Affects Versions: 2.3.1.1
> Environment: Tomcat 6
> Reporter: Denis Cabasson
> Attachments: WW-3752.zip
>
>
> See attached test case.
> The issue seems to be that when using some parameters with a ServletRedirectResult, they get encoded twice in UTF-8 : once in UrlHelper.buildParametersString and a second time in response.encodeRedirectURL.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira
[jira] [Commented] (WW-3752) Charset encoding incorrect when using
parameters in ServletRedirectResult
Posted by "Lukasz Lenart (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WW-3752?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13510390#comment-13510390 ]
Lukasz Lenart commented on WW-3752:
-----------------------------------
[~dcabasson] any news ?
> Charset encoding incorrect when using parameters in ServletRedirectResult
> -------------------------------------------------------------------------
>
> Key: WW-3752
> URL: https://issues.apache.org/jira/browse/WW-3752
> Project: Struts 2
> Issue Type: Bug
> Components: Dispatch Filter
> Affects Versions: 2.3.1.1
> Environment: Tomcat 6
> Reporter: Denis Cabasson
> Fix For: 2.3.8
>
> Attachments: WW-3752.zip
>
>
> See attached test case.
> The issue seems to be that when using some parameters with a ServletRedirectResult, they get encoded twice in UTF-8 : once in UrlHelper.buildParametersString and a second time in response.encodeRedirectURL.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira