Re: [whatwg/url] File URL reparse bug with percent encoded windows drive letter (#559)

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