Skip to content

fix(net): normalize two-digit cookie years - #617

Open
xrip wants to merge 1 commit into
h4ckf0r0day:mainfrom
xrip:fix/cookie-two-digit-years
Open

fix(net): normalize two-digit cookie years#617
xrip wants to merge 1 commit into
h4ckf0r0day:mainfrom
xrip:fix/cookie-two-digit-years

Conversation

@xrip

@xrip xrip commented Aug 10, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Normalize legacy two-digit cookie expiry years at the 69/70 boundary.
  • Reject normalized cookie years below 1601.
  • Add regression coverage for years 00, 69, 70, and 99.

Fixes #616

Validation

@SGavrl SGavrl closed this Aug 14, 2026
@SGavrl SGavrl reopened this Aug 14, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Cookie Expires parser mishandles two-digit years

2 participants