[
https://issues.apache.org/jira/browse/WICKET-3339?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12986508#action_12986508
]
Igor Vaynberg commented on WICKET-3339:
---------------------------------------
maybe instead of rediret to buffer we can handle this with redirect to render.
> 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
> Assignee: Martin Grigorov
> Fix For: 1.5-RC1
>
>
> 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.