[
https://issues.apache.org/jira/browse/WICKET-3721?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Grigorov resolved WICKET-3721.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.5-RC5
Assignee: Martin Grigorov
> The Url's query parameters are not properly URL encoded
> -------------------------------------------------------
>
> Key: WICKET-3721
> URL: https://issues.apache.org/jira/browse/WICKET-3721
> Project: Wicket
> Issue Type: Bug
> Components: wicket-core
> Affects Versions: 1.5-RC4
> Reporter: Martin Grigorov
> Assignee: Martin Grigorov
> Fix For: 1.5-RC5
>
>
> If page parameter has a value with special characters like ' then it is
> rendered as it is in the produced markup and is only XML encoded but never
> URL encoded.
> This causes broken html for example in the case when a Link is attached to a
> non- a|area|link tag:
> <html><body><span wicket:id="link" onclick="var win =
> this.ownerDocument.defaultView || this.ownerDocument.parentWindow; if (win ==
> window) {
> window.location.href='bookmarkable/org.apache.wicket.MockPageWithLink?urlEscapeNeeded=someone's+ba+parameter';
> } ;return false"></span></body></html>
> Notice that ' after 'someone' closes the location.href string too early
> and breaks the app.
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira