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/02/09 16:14:05 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=13204580#comment-13204580 ]
Martin Grigorov commented on WICKET-4358:
-----------------------------------------
Sorry, your quickstart is too complicated and takes me too much time to analyze what you are doing.
If you can reproduce it with less code (Wicket quickstart + what is needed to reproduce) then I'll take a look again. Otherwise I'll leave it to someone else to debug this application.
> 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
> Attachments: 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