You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Igor Vaynberg (JIRA)" <ji...@apache.org> on 2011/03/07 09:02:59 UTC

[jira] Assigned: (WICKET-3508) HttpsMapper triggers rendering of incorrect absolute callback url for Link

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

Igor Vaynberg reassigned WICKET-3508:
-------------------------------------

    Assignee: Igor Vaynberg

> HttpsMapper triggers rendering of incorrect absolute callback url for Link
> --------------------------------------------------------------------------
>
>                 Key: WICKET-3508
>                 URL: https://issues.apache.org/jira/browse/WICKET-3508
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket-core
>    Affects Versions: 1.5-RC2
>         Environment: Windows XP sp3, java 6
>            Reporter: Kyle Patrick
>            Assignee: Igor Vaynberg
>            Priority: Minor
>              Labels: wicket
>         Attachments: quickstart.zip
>
>
> This problem only occurs when HttpsMapper is installed as the root request mapper. Additionally, it only seems to occur when the web context is not root.
> I mount a simple page so that it is available as http://localhost:8080/myproject/pagetest. That page has one Link (the onclick doesn't do anything). If I access that exact url and show source I see the link callback is rendered incorrectly. It should have the web context mentioned. The fact that Wicket generates an absolute url makes me think the HttpsMapper.mapHandler is touching it in such a way to trigger an absolute url, when the delegate was returning a url expecting it to be relative.
> <!DOCTYPE html>
> <html>
> <body>
> <a wicket:id="test" href="http://localhost:8080/wicket/page?1-1.ILinkListener-test">Click Here</a>
> </body>
> </html>

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira