[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Patch for remote files in dnd.el
From: |
YAMAMOTO Mitsuharu |
Subject: |
Re: Patch for remote files in dnd.el |
Date: |
Fri, 08 Sep 2006 09:56:31 +0900 |
User-agent: |
Wanderlust/2.14.0 (Africa) SEMI/1.14.6 (Maruoka) FLIM/1.14.6 (Marutamachi) APEL/10.6 Emacs/22.0.50 (sparc-sun-solaris2.8) MULE/5.0 (SAKAKI) |
>>>>> On Thu, 7 Sep 2006 08:50:37 -0700 (PDT), "Stuart D. Herring"
>>>>> <address@hidden> said:
>> I'm not sure if file:////REMOTEHOST/DIRECTORY/NAME or
>> file://localhost//REMOTEHOST/DIRECTORY/NAME is invalid or not. But
>> even the current code uses invalid file:/DIRECTORY/FILE. :-)
> See RFC 3986, section 3.2.2. file:/dir/file is equivalent to
> file:///dir/file and to file://localhost/dir/file.
Ah, I thought that the latest definition of file: URL was in RFC 1738.
Thanks for the info.
RFC 1738 says:
A file URL takes the form:
file://<host>/<path>
As a special case, <host> can be the string "localhost" or the empty
string; this is interpreted as `the machine from which the URL is
being interpreted'.
RFC 3986 says:
If the URI scheme defines a default for host, then that default
applies when the host subcomponent is undefined or when the
registered name is empty (zero length). For example, the "file" URI
scheme is defined so that no authority, an empty host, and
"localhost" all mean the end-user's machine, whereas the "http"
scheme considers a missing authority or empty host invalid.
The latter mentions the "no authority" case, indeed.
YAMAMOTO Mitsuharu
address@hidden
Re: Patch for remote files in dnd.el, Richard Stallman, 2006/09/07
Re: Patch for remote files in dnd.el, YAMAMOTO Mitsuharu, 2006/09/07
Re: Patch for remote files in dnd.el, Jan Djärv, 2006/09/07
Message not availableMessage not availableRe: Patch for remote files in dnd.el, Jan Djärv, 2006/09/07
Re: Patch for remote files in dnd.el, Stefan Monnier, 2006/09/07
Re: Patch for remote files in dnd.el, David Kastrup, 2006/09/07
Re: Patch for remote files in dnd.el, Jason Rumney, 2006/09/07
Re: Patch for remote files in dnd.el, Richard Stallman, 2006/09/08
Re: Patch for remote files in dnd.el, Jason Rumney, 2006/09/08
Re: Patch for remote files in dnd.el, Jan Djärv, 2006/09/08
Re: Patch for remote files in dnd.el, Richard Stallman, 2006/09/08
Re: Patch for remote files in dnd.el, Jan Djärv, 2006/09/09