Url interception doesn't work if the "intercepting" page is stateless
---------------------------------------------------------------------

                 Key: WICKET-3339
                 URL: https://issues.apache.org/jira/browse/WICKET-3339
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.5-M3
            Reporter: Martin Grigorov


wicket-examples -> authentication2 is broken.

The problem is that trying to request Home page ("/") is not allowed for not 
authenticated users and the security strategy intercepts the request and 
renders Sign2 page 
("wicket/bookmarkable/org.apache.wicket.examples.authentication2.SignIn2") and 
later WebPageRenderer directly renders Sign2 page in the current response 
because this page is stateless (redirect_to_xyz is not used for stateless 
pages).
The final problem is that the relative urls in the page are broken because they 
were calculated against 
"wicket/bookmarkable/org.apache.wicket.examples.authentication2.SignIn2" but 
the browser still uses "/".

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

Reply via email to