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 (JIRA)" <ji...@apache.org> on 2012/06/28 10:35:46 UTC
[jira] [Assigned] (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:all-tabpanel ]
Martin Grigorov reassigned WICKET-4358:
---------------------------------------
Assignee: Martin Grigorov
> 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
> Assignee: Martin Grigorov
> Labels: cookie, redirect
> Attachments: wicket-4358.zip, wicket-bug-4358.tar.bz2
>
>
> 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