- From: Rimas Misevičius <notifications@github.com>
- Date: Fri, 30 Oct 2020 13:40:20 -0700
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 30 October 2020 20:40:33 UTC
I think I can agree with you, but what result must be here: ```js var u = new URL("file://h/path") u.hostname = "c|" ``` Currently result (`u.href`) is `file://c|/path`, and after reparse: `file:///c:/path`. But maybe it is better to reject such host name value? I think it may not be acceptable to change path by setting host name. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/url/issues/559#issuecomment-719786703
Received on Friday, 30 October 2020 20:40:33 UTC