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 2013/02/27 10:47:13 UTC
[jira] [Resolved] (WICKET-4903) relativeUrl's begins with ./
[ https://issues.apache.org/jira/browse/WICKET-4903?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Martin Grigorov resolved WICKET-4903.
-------------------------------------
Resolution: Fixed
Fix Version/s: 6.7.0
UrlResourceReference has been improved to render its url as is. it wont be recalculated against the base url (the currently rendered page url).
> relativeUrl's begins with ./
> ----------------------------
>
> Key: WICKET-4903
> URL: https://issues.apache.org/jira/browse/WICKET-4903
> Project: Wicket
> Issue Type: Bug
> Affects Versions: 6.1.0
> Reporter: Ann Baert
> Assignee: Martin Grigorov
> Fix For: 6.7.0
>
> Attachments: 4903.tgz, TestRelativeUrls.zip
>
>
> In method renderRelativeUrl in UrlRenderer the check url.isAbsolute() is removed. For wich reason is this removed? Because now our relativeurls link /js/name.js are rendered ./js/name.js
> How can I fix this?
> The url is made by Url.parse("/js/name.js").
--
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