You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Petr Sakar (JIRA)" <ji...@apache.org> on 2009/07/22 20:21:14 UTC

[jira] Created: (WICKET-2389) redirect after login error - interceptContinuationURL is missing contextPath

redirect after login error - interceptContinuationURL is missing contextPath
----------------------------------------------------------------------------

                 Key: WICKET-2389
                 URL: https://issues.apache.org/jira/browse/WICKET-2389
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.3.6
            Reporter: Petr Sakar
            Priority: Critical


application is running under context eg. http://localhost:8080/myContext/

unauthenticated user requests page requiring authentication eg. http://localhost:8080/myContext/menu

user is redirected to login. After the login user is redirected to  http://localhost:8080/menu

Problem is in PageMap class on line 265 

			interceptContinuationURL = "/" + cycle.getRequest().getURL();

interceptContinuationURL is absolute (starts with /), therefore context path should be included

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


[jira] Resolved: (WICKET-2389) redirect after login error - interceptContinuationURL is missing contextPath

Posted by "Igor Vaynberg (JIRA)" <ji...@apache.org>.
     [ https://issues.apache.org/jira/browse/WICKET-2389?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Igor Vaynberg resolved WICKET-2389.
-----------------------------------

      Assignee: Igor Vaynberg
    Resolution: Fixed

should be fixed in the 1.4.x series

> redirect after login error - interceptContinuationURL is missing contextPath
> ----------------------------------------------------------------------------
>
>                 Key: WICKET-2389
>                 URL: https://issues.apache.org/jira/browse/WICKET-2389
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.6
>            Reporter: Petr Sakar
>            Assignee: Igor Vaynberg
>            Priority: Critical
>
> application is running under context eg. http://localhost:8080/myContext/
> unauthenticated user requests page requiring authentication eg. http://localhost:8080/myContext/menu
> user is redirected to login. After the login user is redirected to  http://localhost:8080/menu
> Problem is in PageMap class on line 265 
> 			interceptContinuationURL = "/" + cycle.getRequest().getURL();
> interceptContinuationURL is absolute (starts with /), therefore context path should be included

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.