[
https://issues.apache.org/jira/browse/WICKET-5893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14510994#comment-14510994
]
ASF subversion and git services commented on WICKET-5893:
---------------------------------------------------------
Commit b88977e225a070ebdce6872547702264cfa4b447 in wicket's branch
refs/heads/wicket-6.x from [~mgrigorov]
[ https://git-wip-us.apache.org/repos/asf?p=wicket.git;h=b88977e ]
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
(cherry picked from commit 80e1dbbc49101508d0eae0090fd3aa3d427e3c97)
> 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)