Release Note: HttpCookie Handles Conflicting Expires and Max-Age Attributes

XMLWordPrintable

    • Type: Sub-task
    • Resolution: Unresolved
    • Priority: P4
    • tbd
    • Affects Version/s: 26
    • Component/s: core-libs

      `java.net.HttpCookie` has been updated to correctly handle cookies with both `Expires` and `Max-Age` attributes. RFC 6265 specifies that the `Max-Age` attribute should take precedence over the `Expires` attribute if both are present in the same cookie. This behavior change is reflected in the `HttpCookie.getMaxAge` method.

            Assignee:
            Michael McMahon
            Reporter:
            Michael McMahon
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated: