[
https://issues.apache.org/jira/browse/WICKET-5893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14510992#comment-14510992
]
ASF subversion and git services commented on WICKET-5893:
---------------------------------------------------------
Commit 80e1dbbc49101508d0eae0090fd3aa3d427e3c97 in wicket's branch
refs/heads/master from [~mgrigorov]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=80e1dbb ]
WICKET-5893 CookieUtils should use the original response when saving a cookie
Fallback to the original response only if the current one is not WebResponse.
This way the buffering (BufferedWebResponse) is preserved if possible
> CookieUtils should use the original response when saving a cookie
> -----------------------------------------------------------------
>
> Key: WICKET-5893
> URL: https://issues.apache.org/jira/browse/WICKET-5893
> Project: Wicket
> Issue Type: Bug
> Components: wicket
> Affects Versions: 7.0.0-M5, 6.19.0
> Reporter: Martin Grigorov
> Assignee: Martin Grigorov
> Fix For: 6.20.0, 7.0.0-M6
>
>
> Report at users@: http://markmail.org/message/7ep5kar6kvmn766l
> It is not possible to save a cookie inside Component#renderHead() method
> because at that time Wicket sets temporarily a StringResponse for collecting
> the header contributions.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)