- From: Rimas <notifications@github.com>
- Date: Fri, 10 Mar 2017 02:32:04 -0800
- To: whatwg/url <url@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Friday, 10 March 2017 10:32:38 UTC
Sample: ``` var url = new URL('file:///path'); url.protocol = 'http:'; ``` Current result: `http:///path`; and after re-parse `host` gets "path" value... I see two variants how to resolve this issue: 1. Change `host` to "localhost" 2. Or disallow such switch Related to #259 / #269 -- 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/270
Received on Friday, 10 March 2017 10:32:38 UTC