[Top][All Lists]

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

Re: file://host/location URLs

From: Chong Yidong
Subject: Re: file://host/location URLs
Date: Sun, 18 Nov 2012 16:12:24 +0800
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.2.50 (gnu/linux)

James Cloos <address@hidden> writes:

>>>>>> "AG" == Achim Gratz <address@hidden> writes:
> AG> Common bugs in applications and misconceptions of some users
> AG> notwithstanding, an URI should implement:
> AG> http://tools.ietf.org/html/rfc3986
> And rfc 1738 for file://’s definition and syntax.

To expand on these points: "file:" and "file://" not equivalent under
RFC 3986, so don't do that.

It seems acceptable to signal an error if a file:// URI specifies a
remote host, instead of using FTP.  But if the hostname is that of the
local computer, it ought to work fine.  For that reason, I think
url-handlers.el is still needed, and that's where the fix needs to be.
Currently, the url library treats file:// and ftp:// urls as synonymous,
but that can be changed.

reply via email to

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