RFR: 8351983: HttpCookie Parser Incorrectly Handles Cookies with Expires Attribute
Michael McMahon
michaelm at openjdk.org
Wed Jun 4 13:31:11 UTC 2025
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
-------------
Commit messages:
- whitespace
- update
- impl and test + doc update
- Merge branch 'master' into cookie-8351983
- doc update
- further doc update
- doc update only
Changes: https://git.openjdk.org/jdk/pull/25636/files
Webrev: https://webrevs.openjdk.org/?repo=jdk&pr=25636&range=00
Issue: https://bugs.openjdk.org/browse/JDK-8351983
Stats: 153 lines in 2 files changed: 126 ins; 24 del; 3 mod
Patch: https://git.openjdk.org/jdk/pull/25636.diff
Fetch: git fetch https://git.openjdk.org/jdk.git pull/25636/head:pull/25636
PR: https://git.openjdk.org/jdk/pull/25636
More information about the net-dev
mailing list