From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Andreas Schwab Newsgroups: gmane.emacs.bugs Subject: bug#6339: url-filename => "/c:/some/file.txt" Date: Sun, 25 Sep 2011 01:42:39 +0200 Message-ID: References: <87bouahatm.fsf@gnu.org> NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Trace: dough.gmane.org 1316907818 10580 80.91.229.12 (24 Sep 2011 23:43:38 GMT) X-Complaints-To: usenet@dough.gmane.org NNTP-Posting-Date: Sat, 24 Sep 2011 23:43:38 +0000 (UTC) Cc: Lars Magne Ingebrigtsen , 6339@debbugs.gnu.org To: Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Sep 25 01:43:34 2011 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([140.186.70.17]) by lo.gmane.org with esmtp (Exim 4.69) (envelope-from ) id 1R7bsa-0003Oz-RE for geb-bug-gnu-emacs@m.gmane.org; Sun, 25 Sep 2011 01:43:32 +0200 Original-Received: from localhost ([::1]:41209 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7bsZ-0006g8-Qw for geb-bug-gnu-emacs@m.gmane.org; Sat, 24 Sep 2011 19:43:31 -0400 Original-Received: from eggs.gnu.org ([140.186.70.92]:33833) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7bsX-0006g3-Tg for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2011 19:43:30 -0400 Original-Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1R7bsW-0001HT-U3 for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2011 19:43:29 -0400 Original-Received: from debbugs.gnu.org ([140.186.70.43]:40602) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1R7bsW-0001HP-SV for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2011 19:43:28 -0400 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1R7bt4-0006hY-OM for bug-gnu-emacs@gnu.org; Sat, 24 Sep 2011 19:44:02 -0400 X-Loop: help-debbugs@gnu.org Resent-From: Andreas Schwab Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sat, 24 Sep 2011 23:44:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 6339 X-GNU-PR-Package: emacs X-GNU-PR-Keywords: Original-Received: via spool by 6339-submit@debbugs.gnu.org id=B6339.131690780525708 (code B ref 6339); Sat, 24 Sep 2011 23:44:02 +0000 Original-Received: (at 6339) by debbugs.gnu.org; 24 Sep 2011 23:43:25 +0000 Original-Received: from localhost ([127.0.0.1] helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R7bsR-0006ga-T5 for submit@debbugs.gnu.org; Sat, 24 Sep 2011 19:43:24 -0400 Original-Received: from mail-out.m-online.net ([212.18.0.9]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1R7bsL-0006gM-I8 for 6339@debbugs.gnu.org; Sat, 24 Sep 2011 19:43:19 -0400 Original-Received: from frontend1.mail.m-online.net (unknown [192.168.8.180]) by mail-out.m-online.net (Postfix) with ESMTP id F03691C02FAA; Sun, 25 Sep 2011 01:42:40 +0200 (CEST) Original-Received: from localhost (dynscan1.mnet-online.de [192.168.8.164]) by mail.m-online.net (Postfix) with ESMTP id B6DA71C0015B; Sun, 25 Sep 2011 01:42:40 +0200 (CEST) X-Virus-Scanned: amavisd-new at mnet-online.de Original-Received: from mail.mnet-online.de ([192.168.8.180]) by localhost (dynscan1.mail.m-online.net [192.168.8.164]) (amavisd-new, port 10024) with ESMTP id fovE1DRTMPOf; Sun, 25 Sep 2011 01:42:40 +0200 (CEST) Original-Received: from igel.home (ppp-88-217-112-198.dynamic.mnet-online.de [88.217.112.198]) by mail.mnet-online.de (Postfix) with ESMTP; Sun, 25 Sep 2011 01:42:40 +0200 (CEST) Original-Received: by igel.home (Postfix, from userid 501) id CF97CCA296; Sun, 25 Sep 2011 01:42:39 +0200 (CEST) X-Yow: I'm also pre-POURED pre-MEDITATED and pre-RAPHAELITE!! In-Reply-To: (Juanma Barranquero's message of "Sat, 24 Sep 2011 23:56:33 +0200") User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.3 (gnu/linux) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list Resent-Date: Sat, 24 Sep 2011 19:44:02 -0400 X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.6 (newer, 1) X-Received-From: 140.186.70.43 X-BeenThere: bug-gnu-emacs@gnu.org List-Id: "Bug reports for GNU Emacs, the Swiss army knife of text editors" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:51801 Archived-At: Juanma Barranquero writes: > On Sat, Sep 24, 2011 at 13:53, Andreas Schwab wrote: > >> In an ftp URL an absolute fpath needs to be written with a leading >> escaped slash (%2F).  RFCs 4722 and 5022 consistently use four leading >> slashes for an absolute file name.  OTOH there are a few occurrences of >> file URLs denoting absolute paths with only three slashes in other RFCs. > > I think we're in agreement: there are several ways to interpret the > PATH part, but in all cases, it does not include the separator slash. That's not the point. If you interpret the local part as an absolute file name you have to prepend a slash after decomposing. If not, then file:///etc/hosts wouldn't work as probably intended. Andreas. -- Andreas Schwab, schwab@linux-m68k.org GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."