Skip to content

cookie: don't treat the leading slash as trailing#18266

Closed
bagder wants to merge 1 commit intomasterfrom
bagder/cookie-path
Closed

cookie: don't treat the leading slash as trailing#18266
bagder wants to merge 1 commit intomasterfrom
bagder/cookie-path

Conversation

@bagder
Copy link
Member

@bagder bagder commented Aug 12, 2025

If there is only a leading slash keep that. Also add an assert to make sure the path is never blank.

Reported-by: Google Big Sleep

If there is only a leading slash keep that. Also add an assert to make
sure the path is never blank.

Reported-by: Google Big Sleep
@bagder bagder added the cookies label Aug 12, 2025
@github-actions github-actions bot added the HTTP label Aug 12, 2025
@bagder bagder marked this pull request as ready for review August 12, 2025 22:05
@bagder bagder closed this in c6ae07c Aug 12, 2025
@bagder bagder deleted the bagder/cookie-path branch August 12, 2025 23:04
@Imshad18
Copy link

Imshad18 commented Sep 16, 2025

I don't understand any of this yet but I liked reading it, I came from the hackerone disclosed report :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Development

Successfully merging this pull request may close these issues.

2 participants

Comments