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 Grigorov (Commented) (JIRA)" <ji...@apache.org> on 2012/01/25 08:17:40 UTC
[jira] [Commented] (WICKET-4358) BufferedWebResponse fails to
add/clear cookie in redirect
[ https://issues.apache.org/jira/browse/WICKET-4358?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13192908#comment-13192908 ]
Martin Grigorov commented on WICKET-4358:
-----------------------------------------
How do you make the redirect ?
Can you provide a quickstart application please.
> BufferedWebResponse fails to add/clear cookie in redirect
> ---------------------------------------------------------
>
> Key: WICKET-4358
> URL: https://issues.apache.org/jira/browse/WICKET-4358
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 1.5.4
> Environment: Firefox 9
> Reporter: Michael Allan
> Labels: cookie, redirect
>
> bufferedWebResponse.addCookie( cookie );
> That fails under certain conditions: (1) when called on the last of three 302 redirects during OpenID login; and (2) on single redirect immediately after container startup, though it later recovers. Failure confirmed in Firebug; no cookies sent in any of the response headers. My workaround is to bypass the buffered response. This works:
> ((HttpServletResponse)bufferedWebResponse.getContainerResponse()).addCookie( cookie );
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira