You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2012/10/29 11:37:13 UTC
[jira] [Created] (WICKET-4844) AbstractResourceReferenceMapper
doesn't escape separators in style/variation names
Martin Grigorov created WICKET-4844:
---------------------------------------
Summary: AbstractResourceReferenceMapper doesn't escape separators in style/variation names
Key: WICKET-4844
URL: https://issues.apache.org/jira/browse/WICKET-4844
Project: Wicket
Issue Type: Bug
Components: wicket
Affects Versions: 6.2.0, 1.5.8
Reporter: Martin Grigorov
Assignee: Martin Grigorov
org.apache.wicket.request.mapper.AbstractResourceReferenceMapper#encodeResourceReferenceAttributes() doesn't escape '-' character when generating the query string parameter with the locale-style-variation.
So using a style with name "a-b" leads to parameter with name "-a-b" and later is decoded to style == "a" and variation == "b"
--
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] [Resolved] (WICKET-4844) AbstractResourceReferenceMapper
doesn't escape separators in style/variation names
Posted by "Martin Grigorov (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/WICKET-4844?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov resolved WICKET-4844.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.5.9
6.3.0
Fixed.
'-' is replaced with '~', and '~' with '~~'.
> AbstractResourceReferenceMapper doesn't escape separators in style/variation names
> ----------------------------------------------------------------------------------
>
> Key: WICKET-4844
> URL: https://issues.apache.org/jira/browse/WICKET-4844
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.5.8, 6.2.0
> Reporter: Martin Grigorov
> Assignee: Martin Grigorov
> Fix For: 6.3.0, 1.5.9
>
>
> org.apache.wicket.request.mapper.AbstractResourceReferenceMapper#encodeResourceReferenceAttributes() doesn't escape '-' character when generating the query string parameter with the locale-style-variation.
> So using a style with name "a-b" leads to parameter with name "-a-b" and later is decoded to style == "a" and variation == "b"
--
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