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 Dietze (JIRA)" <ji...@apache.org> on 2013/03/28 18:43:15 UTC

[jira] [Updated] (WICKET-5123) Component.continueToOriginalDestination() can redirect to ./.

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

Martin Dietze updated WICKET-5123:
----------------------------------

    Attachment: urlrenderer.tar.gz

Browse to 'http://localhost'. You will be redirected to the LoginPage on which the target URL is printed as it would be generated inside of continueToOriginalDestination().
                
> Component.continueToOriginalDestination() can redirect to ./.
> -------------------------------------------------------------
>
>                 Key: WICKET-5123
>                 URL: https://issues.apache.org/jira/browse/WICKET-5123
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>            Reporter: Martin Dietze
>            Priority: Minor
>         Attachments: urlrenderer.tar.gz
>
>   Original Estimate: 4h
>  Remaining Estimate: 4h
>
> Following scenario:
> Home page redirects to login page via RestartResponseException if no user is logged in.
> The user logs in, and is led back to the originally called page via continueToOriginalDestination().
> If the original page was the home page, Wicket's UrlRenderer produces a target url of ./. here (which IE browsers can't handle).

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