Uh oh!
There was an error while loading. Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork 34.2k
Closed
Labels
whatwg-urlIssues and PRs related to the WHATWG URL implementation.Issues and PRs related to the WHATWG URL implementation.
Description
Per: whatwg/url#97
Given the test case:
varm=newurl.URL('file:///example/foo');m.host='example.net:81';The resulting URL is:
URL{href: file://example.net:81/example/foo protocol: file: hostname: example.net port: 81 pathname: /example/foo } The host setter needs to take into consideration the fact that this is a file URL. PR incoming shortly.
Metadata
Metadata
Assignees
Labels
whatwg-urlIssues and PRs related to the WHATWG URL implementation.Issues and PRs related to the WHATWG URL implementation.