[ 
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

Reply via email to