RFR: 8351983: HttpCookie Parser Incorrectly Handles Cookies with Expires Attribute [v9]

Daniel Fuchs dfuchs at openjdk.org
Thu Jun 19 13:02:31 UTC 2025


On Thu, 19 Jun 2025 12:00:52 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
>
> Michael McMahon has updated the pull request incrementally with one additional commit since the last revision:
> 
>   doc update from CSR review

LGTM. should we be more specific about the partial support?

-------------

Marked as reviewed by dfuchs (Reviewer).

PR Review: https://git.openjdk.org/jdk/pull/25636#pullrequestreview-2942937507


More information about the net-dev mailing list