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/22 10:14:13 UTC

[jira] [Assigned] (WICKET-4942) Double slash '//' in starting url makes Url.parse output a relative Url

     [ https://issues.apache.org/jira/browse/WICKET-4942?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov reassigned WICKET-4942:
---------------------------------------

    Assignee: Martin Grigorov
    
> Double slash '//' in starting url makes Url.parse output a relative Url
> -----------------------------------------------------------------------
>
>                 Key: WICKET-4942
>                 URL: https://issues.apache.org/jira/browse/WICKET-4942
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 6.4.0
>            Reporter: Serban Balamaci
>            Assignee: Martin Grigorov
>            Priority: Minor
>
> Trying to set JQuery reference to a CDN:
>         Url jqueryCDN = Url.parse("//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js");
>         getJavaScriptLibrarySettings().setJQueryReference(new UrlResourceReference(jqueryCDN));
> Url added in head results in:
> <script type="text/javascript" src=".//ajax.googleapis.com/ajax/libs/jquery/1.8.3/jquery.min.js"></script>

--
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