[whatwg] URL: file: URLs
Anne van Kesteren
annevk at annevk.nl
Tue Oct 30 09:25:30 PDT 2012
On Mon, Oct 29, 2012 at 4:24 PM, Boris Zbarsky <bzbarsky at mit.edu> wrote:
> On 10/29/12 10:53 AM, Anne van Kesteren wrote:
>> But at that point in a URL you cannot have a path. A path starts with
>> a slash after the host.
> The point is that on Windows, Gecko parses file://c:/something as
> As in, it's an exception to the general "if there are two slashes after the
> "file:" then the next thing is a host rule.
Thanks, I missed that. It seems however we could have that parsing
rule for all platforms without issue, no? After all, file://c:/ does
not parse currently on non-Windows platforms.
>> I suppose, I would hate it though for new URL(...) to depend on the
> I'm not sure there are great solutions here. :(
Yeah, I'm willing to suck it up, but I would like to explore our
options before we go that route.
More information about the whatwg