W3C home > Mailing lists > Public > uri@w3.org > January 2011

Re: Status of RFC 1738 -- 'ftp' URI scheme

From: Dan B. <danb@kempt.net>
Date: Fri, 14 Jan 2011 13:25:31 -0500
Message-ID: <4D30951B.7060602@kempt.net>
To: URI <uri@w3.org>
John Cowan wrote:
> Charles Lindsey scripsit:
>> If the authority identifies a host (e.g. e domain name with a A record,
>> or some local name known from /etc/hosts)
> Well, Internet Explorer interprets file://foo/bar/baz as the UNC name
> \\foo\bar\baz, which strikes me as extremely sensible, and I wish every
> browser on Windows did it.   (Chrome does, Firefox doesn't.)

Try "file://///foo/bar/baz".  That works in Mozilla Seamonkey, so
it probably works in Mozilla Firefox.  (And it also works in IE.)

(Note how it works:  The empty authority indicates that the URI
refers to a local pathname (that is, a name that is interpreted by
the local system, even if the referred-to file itself isn't local).
Then then the URI path "///foo/bar/baz" represents that pathname
(the UNC pathname "\\foo\bar\baz").  (No, I don't recall exactly
how the three slashes turns into only two backslashes.))

Received on Sunday, 16 January 2011 21:09:27 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 21:25:14 UTC