Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(http): Add Cookie domain validation #1009

Merged
merged 3 commits into from
Jul 8, 2021

Conversation

getspooky
Copy link
Contributor

Cookie domain should not start with - and end with . or -.
https://datatracker.ietf.org/doc/html/rfc6265#section-4.1.2.3

Copy link
Contributor

@wperron wperron left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Seems reasonable, but needs more tests

@getspooky
Copy link
Contributor Author

@wperron thanks for feedback, i will add more tests.

@getspooky getspooky requested a review from wperron July 8, 2021 16:38
@wperron wperron merged commit 3f44647 into denoland:main Jul 8, 2021
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.

2 participants