[ 
https://issues.apache.org/jira/browse/WICKET-6993?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17572765#comment-17572765
 ] 

Martin Tzvetanov Grigorov commented on WICKET-6993:
---------------------------------------------------

Hi [~Serra] !

The description is not clear to me.

What do you mean with: "... is encoded as follows: single-e-inside => 
single~e~inside" ? 

Please create a unit test or quickstart application that shows the problem.

 

You PR does the following change:
{code:java}
-       Url url = Url.parse("wicket/resource/" + CLASS_NAME + "/reference1?en");
+       Url url = Url.parse("wicket/resource/" + CLASS_NAME + 
"/reference1?2~ennullnull"); {code}
This does not look any better.

1) Why the page became stateful ? It has "?2" now

2) Why do we need the "null"s ?

> Resource Variations containing a single character are not correctly decoded
> ---------------------------------------------------------------------------
>
>                 Key: WICKET-6993
>                 URL: https://issues.apache.org/jira/browse/WICKET-6993
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-core
>    Affects Versions: 8.14.0, 9.10.0
>            Reporter: Peter Lamby
>            Priority: Minor
>
> A resource variation containing a single character in the middle is encoded 
> as follows:
> single-e-inside => single~e~inside
> When the variation is decoded again the following variation is produced
> single-e~inside => single-e~inside
> A similar issue exists with an attribute like double--separator
>  
> The effect is that resources with a variation like that do not work correctly 
> in wicket.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to