Wicket
  1. Wicket
  2. WICKET-4850

BaseWicketTester discards cookies with MaxAge = -1 when processing a new request

    Details

    • Type: Bug Bug
    • Status: Resolved
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 1.5.8
    • Fix Version/s: 1.5.9, 6.3.0
    • Component/s: wicket-devutils
    • Labels:
      None

      Description

      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.

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            Martin Grigorov
            Reporter:
            Pavel Dubina
          • Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development