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

Reply via email to