Skip to content

Support multiple cookie headers in Request.cookies#3029

Merged
Kludex merged 2 commits intomainfrom
support-multiple-cookie-headers
Sep 20, 2025
Merged

Support multiple cookie headers in Request.cookies#3029
Kludex merged 2 commits intomainfrom
support-multiple-cookie-headers

Conversation

@Kludex
Copy link
Owner

@Kludex Kludex commented Sep 20, 2025

Co-authored-by: 11kkw <21125286+11kkw@users.noreply.github.com>
@Kludex Kludex force-pushed the support-multiple-cookie-headers branch from 1cdd69c to 0328437 Compare September 20, 2025 11:50
@Kludex
Copy link
Owner Author

Kludex commented Sep 20, 2025

@11kkw Can you confirm my PR solves the issue?


I've added you as co-author on the commit here.

@11kkw
Copy link

11kkw commented Sep 20, 2025

@11kkw Can you confirm my PR solves the issue?

I've added you as co-author on the commit here.

The if key or val: part already handles cases with a trailing semicolon (;) without any extra changes. I completely missed that. Really elegant solution, thanks! Learned a lot from this.

@Kludex Kludex merged commit 7f78881 into main Sep 20, 2025
7 checks passed
@Kludex Kludex deleted the support-multiple-cookie-headers branch September 20, 2025 21:43
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.

Request Header cookie parsing doesn't follow RFC 7540 spec

2 participants