[
https://issues.apache.org/jira/browse/WICKET-4850?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Grigorov resolved WICKET-4850.
-------------------------------------
Resolution: Fixed
Fix Version/s: 1.5.9
6.3.0
Assignee: Martin Grigorov
> BaseWicketTester discards cookies with MaxAge = -1 when processing a new
> request
> --------------------------------------------------------------------------------
>
> Key: WICKET-4850
> URL: https://issues.apache.org/jira/browse/WICKET-4850
> Project: Wicket
> Issue Type: Bug
> Components: wicket-devutils
> Affects Versions: 1.5.8
> Reporter: Pavel Dubina
> Assignee: Martin Grigorov
> Priority: Minor
> Fix For: 6.3.0, 1.5.9
>
>
> BaseWicketTesters' method processRequest only copies cookies with maxAge > 0
> to the new request, discarding cookies with maxAge = -1. However
> http://docs.oracle.com/javaee/1.4/api/javax/servlet/http/Cookie.html#getMaxAge%28%29
> states that cookies with maxAge = -1 are session cookies, and should be
> deleted when the browser is closed, not when a new request is handled.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira