Pavel Dubina created WICKET-4850:
------------------------------------

             Summary: 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
            Priority: Minor


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

Reply via email to