Integrated: 8351983: HttpCookie Parser Incorrectly Handles Cookies with Expires Attribute
Michael McMahon
michaelm at openjdk.org
Tue Jun 24 09:18:35 UTC 2025
On Wed, 4 Jun 2025 11:12:02 GMT, Michael McMahon <michaelm at openjdk.org> wrote:
> Hi,
>
> This is a fix to j.n.HttpCookie (which has a doc/spec change). So, I'm targeting it to 26.
> We currently do not obey the rule in RFC 6265 that says if both Max-Age and Expires attributes
> are present in a cookie, the Max-Age should take precedence.
>
> Thanks
> Michael
This pull request has now been integrated.
Changeset: 116b8543
Author: Michael McMahon <michaelm at openjdk.org>
URL: https://git.openjdk.org/jdk/commit/116b8543b04bfcf542af0ba03ac547a744600b7c
Stats: 274 lines in 3 files changed: 235 ins; 24 del; 15 mod
8351983: HttpCookie Parser Incorrectly Handles Cookies with Expires Attribute
Reviewed-by: dfuchs, vyazici
-------------
PR: https://git.openjdk.org/jdk/pull/25636
More information about the net-dev
mailing list