-
-
Notifications
You must be signed in to change notification settings - Fork 33.9k
Closed
Labels
whatwg-urlIssues and PRs related to the WHATWG URL implementation.Issues and PRs related to the WHATWG URL implementation.
Description
See whatwg/url#604. We should align our "hostname state" accordingly:
Lines 1765 to 1778 in 3b1a993
| if (buffer.size() == 0) { | |
| url->flags |= URL_FLAGS_FAILED; | |
| return; | |
| } | |
| url->flags |= URL_FLAGS_HAS_HOST; | |
| if (!ParseHost(buffer, &url->host, special)) { | |
| url->flags |= URL_FLAGS_FAILED; | |
| return; | |
| } | |
| buffer.clear(); | |
| state = kPort; | |
| if (state_override == kHostname) { | |
| return; | |
| } |
Metadata
Metadata
Assignees
Labels
whatwg-urlIssues and PRs related to the WHATWG URL implementation.Issues and PRs related to the WHATWG URL implementation.