Re: [whatwg/url] Why is the host dropped if the path contains a Windows drive letter? (#302)

I tested IE6 (and Chrome 49) on XP using BrowserStack via Live DOM Viewer (one of the few pages that still works, hurray) with
```html
<a href="file://test/d:/testtest;'?"></a>
<script>
w(document.getElementsByTagName("a")[0].href)
</script>
```
as my input and verified that `.href` does show post-parse output using `file:/s` as input (becomes `file:///s`). IE6 preserves the host, Chrome drops it.

-- 
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/302#issuecomment-626345284

Received on Sunday, 10 May 2020 15:30:26 UTC