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

Fix code point for '.' - it's U+002E not U+002D #235

Merged
merged 1 commit into from
Jul 15, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions index.bs
Original file line number Diff line number Diff line change
Expand Up @@ -1140,9 +1140,9 @@ run the following steps:
1. Let |host| be |url|'s [=url/host=]
1. Let |attributes| be a new [=/list=].
1. If |domain| is not null, then run these steps:
1. If |domain| starts with U+002D (`.`), then return failure.
1. If |domain| starts with U+002E (`.`), then return failure.
1. If |host| does not equal |domain| and
|host| does not end with U+002D (`.`) followed by |domain|,
|host| does not end with U+002E (`.`) followed by |domain|,
then return failure.
1. Let |encodedDomain| be the result of [=UTF-8 encode|UTF-8 encoding=] |domain|.
1. If the [=byte sequence=] [=byte sequence/length=] of |encodedDomain| is greater than the [=cookie/maximum attribute value size=], then return failure.
Expand Down
Loading