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

Remove note to ignore Domain attribute with trailing . #2087

Merged
merged 1 commit into from
May 4, 2022

Conversation

sbingler
Copy link
Collaborator

@sbingler sbingler commented May 3, 2022

Closes #1758

The spec had a note to handle trailing .s in the Domain's value by ignoring the attribute. Since example.com and example.com. are considered distinct domains a trailing . should instead result in a rejected cookie. By removing this note the spec will rely on the domain matching algorithm to (correctly) reject the cookie.

@sbingler sbingler marked this pull request as ready for review May 3, 2022 19:00
@sbingler
Copy link
Collaborator Author

sbingler commented May 3, 2022

@annevk PTAL

Copy link
Contributor

@chlily1 chlily1 left a comment

Choose a reason for hiding this comment

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

LGTM. Thanks for the attention to detail!

Copy link

@annevk annevk left a comment

Choose a reason for hiding this comment

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

Thanks!

@mikewest mikewest merged commit c5b3866 into httpwg:main May 4, 2022
@annevk
Copy link

annevk commented May 4, 2022

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

Successfully merging this pull request may close these issues.

RFC6265bis: Handling a trailing dot in the domain attribute
4 participants