[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: address@hidden: browse-url-of-dired-file vs. .gz]

From: Stuart D. Herring
Subject: Re: address@hidden: browse-url-of-dired-file vs. .gz]
Date: Thu, 29 Jun 2006 12:08:14 -0700 (PDT)
User-agent: SquirrelMail/1.4.3a-11.EL3

> However, I just reviewed the relevant  RFCs, and there is no mention of
> a server-less version of the file: URL scheme, so file:/// does appear
> be more correct than file:/, at least in theory.

Page 21 of RFC 3986 states that

                                 For example, the "file" URI
   scheme is defined so that no authority, an empty host, and
   "localhost" all mean the end-user's machine, ...

"No authority" means that the "//host" part of the URI is omitted
entirely, whereas "an empty host" means that the "//" has no text between
it and the following "/" that begins the path (which, with an authority
present, even if it's an empty host, must begin with a slash).  So
file:/// and file:/ and file://localhost/ all mean exactly the same thing,
whether or not they are followed by anything (which must be an absolute
file name without its leading /).  My apologies for reporting the "bug"
that did not in fact exist, but perhaps file:/// should be used anyway if
it's more compatible?


This product is sold by volume, not by mass.  If it appears too dense or
too sparse, it is because mass-energy conversion has occurred during

reply via email to

[Prev in Thread] Current Thread [Next in Thread]