Re: Converting filenames to file: URIs

Graham Klyne wrote:

> Windows:
>    Filename C:\foo\bar maps to file:///C:foo/bar

Here, OS/2 and an old Netscape = file:///C:/foo/bar

It's a difference for directories, file:///C: does
not work, file:///C:/ is fine.  Going back to the
parent directory fails from a file:///C:foo/

>    i.e. prepend "file:///" and map \ to /.

Yes, 
 
> What's missing here?

My browsers also eat backslashes and do the mapping
on their own.  Lynx may treat file:/// as ftp:///,
so to be sure I always use file://localhost/

                           Bye, Frank

Received on Friday, 13 May 2005 11:34:37 UTC