- From: Guy Bedford <notifications@github.com>
- Date: Sun, 10 Oct 2021 08:29:52 -0700
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Sunday, 10 October 2021 15:30:04 UTC
@rmisev the UNC string in a file URL, as far as I'm aware, is always of the form `file://host/pathname` and not `file:///host/pathname`. As a result `new URL()` treats the UNC component as a hostname in all cases I've seen and Node.js relies on this behaviour as well (//cc @bmeck if I'm missing something). Where did you get the `file:////host.example.com` example from? I've never seen a case like that... -- 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/552#issuecomment-939502375
Received on Sunday, 10 October 2021 15:30:04 UTC