From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.org!not-for-mail From: Lennart Borgman Newsgroups: gmane.emacs.bugs Subject: bug#5345: Password asked when visiting a file in a lightweight checkout Date: Sun, 10 Jan 2010 18:48:15 +0100 Message-ID: References: <87eilzio5b.fsf@gmx.de> <83vdfb8jxa.fsf@gnu.org> <201001091846.o09Ikv1G009474@godzilla.ics.uci.edu> <201001091920.o09JKqPp010697@godzilla.ics.uci.edu> <87ocl26oet.fsf@marauder.physik.uni-ulm.de> Reply-To: Lennart Borgman , 5345@debbugs.gnu.org NNTP-Posting-Host: lo.gmane.org Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Trace: ger.gmane.org 1263147578 5607 80.91.229.12 (10 Jan 2010 18:19:38 GMT) X-Complaints-To: usenet@ger.gmane.org NNTP-Posting-Date: Sun, 10 Jan 2010 18:19:38 +0000 (UTC) To: Reiner Steib , 5345@debbugs.gnu.org, Juanma Barranquero Original-X-From: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Sun Jan 10 19:19:30 2010 Return-path: Envelope-to: geb-bug-gnu-emacs@m.gmane.org Original-Received: from lists.gnu.org ([199.232.76.165]) by lo.gmane.org with esmtp (Exim 4.50) id 1NU2Nt-0002Zn-M4 for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Jan 2010 19:19:30 +0100 Original-Received: from localhost ([127.0.0.1]:48739 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NU2Nu-000572-7m for geb-bug-gnu-emacs@m.gmane.org; Sun, 10 Jan 2010 13:19:30 -0500 Original-Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1NU2NZ-0004uN-43 for bug-gnu-emacs@gnu.org; Sun, 10 Jan 2010 13:19:09 -0500 Original-Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1NU2NU-0004r1-NF for bug-gnu-emacs@gnu.org; Sun, 10 Jan 2010 13:19:08 -0500 Original-Received: from [199.232.76.173] (port=34725 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1NU2NU-0004qy-H9 for bug-gnu-emacs@gnu.org; Sun, 10 Jan 2010 13:19:04 -0500 Original-Received: from debbugs.gnu.org ([140.186.70.43]:36074) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1NU2NU-0008CN-8o for bug-gnu-emacs@gnu.org; Sun, 10 Jan 2010 13:19:04 -0500 Original-Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.69) (envelope-from ) id 1NU1uQ-0006fI-EX; Sun, 10 Jan 2010 12:49:02 -0500 X-Loop: bug-gnu-emacs@gnu.org Mail-Followup-To: Lennart Borgman , 5345@debbugs.gnu.org Resent-From: Lennart Borgman Original-Sender: debbugs-submit-bounces@debbugs.gnu.org Resent-To: owner@debbugs.gnu.org Resent-CC: bug-gnu-emacs@gnu.org Resent-Date: Sun, 10 Jan 2010 17:49:02 +0000 Resent-Message-ID: Resent-Sender: bug-gnu-emacs@gnu.org X-Emacs-PR-Message: followup 5345 X-Emacs-PR-Package: emacs X-Emacs-PR-Keywords: Original-Received: via spool by 5345-submit@debbugs.gnu.org id=B5345.126314573425603 (code B ref 5345); Sun, 10 Jan 2010 17:49:02 +0000 Original-Received: (at 5345) by debbugs.gnu.org; 10 Jan 2010 17:48:54 +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 1NU1uI-0006eu-Fx for submit@debbugs.gnu.org; Sun, 10 Jan 2010 12:48:54 -0500 Original-Received: from mail-fx0-f226.google.com ([209.85.220.226]) by debbugs.gnu.org with esmtp (Exim 4.69) (envelope-from ) id 1NU1u6-0006eZ-HX for 5345@debbugs.gnu.org; Sun, 10 Jan 2010 12:48:52 -0500 Original-Received: by fxm26 with SMTP id 26so18428068fxm.39 for <5345@debbugs.gnu.org>; Sun, 10 Jan 2010 09:48:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:content-type :content-transfer-encoding; bh=xnGtDisN4WzUQUMhxH5LORcTMXKM2bZl74HGzLK3dws=; b=L6/5oygE6xexlZUe7hvoh9A0caGAyZk8FHI+En+QWC/EBCH06au8M1luPBSnq4TBYy ogt8F5JJqZolX1cfOgrT2kumkkNJKAgCZrwToNJy8SL6O0F/9PQhpBf3zI8FWkXnSPbU aPcIfZ7dVxl32QBRxHM8H6jXJDV/GXe5KlA8Y= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :content-type:content-transfer-encoding; b=u+JFpcqSUEvX9daz4kCIlu/8bRUdogDXcDBT8mcIGOPTGI0sl5k3Gl+PZcDQgExJai f/7hNdOBw1bVoAEbp7swpVvAkdtSdJtF1OOcN0Em8V+Q4gz41J729Z12tH8SpdipK9Cg sy9DE5A0udfP5+CLNER4uup/9c8/zOvhHOGHI= Original-Received: by 10.239.193.18 with SMTP id g18mr3633973hbi.178.1263145715726; Sun, 10 Jan 2010 09:48:35 -0800 (PST) In-Reply-To: <87ocl26oet.fsf@marauder.physik.uni-ulm.de> X-Spam-Score: -2.5 (--) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.11 Precedence: list X-Spam-Score: -2.5 (--) Resent-Date: Sun, 10 Jan 2010 12:49:02 -0500 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 3) 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: , Original-Sender: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Errors-To: bug-gnu-emacs-bounces+geb-bug-gnu-emacs=m.gmane.org@gnu.org Xref: news.gmane.org gmane.emacs.bugs:34169 Archived-At: On Sun, Jan 10, 2010 at 3:10 PM, Reiner Steib w= rote: > On Sat, Jan 09 2010, Juanma Barranquero wrote: > >> According to RFC 1738 ("Uniform Resource Locators (URL)"), >> section 3.10 ("FILES"), the syntax is >> >> =C2=A0 =C2=A0 =C2=A0file:/// >> >> i.e., the slashes are separators. And "[a]s a special case, can >> be the string "localhost" or the empty string; this is interpreted as >> `the machine from which the URL is being interpreted'.". So >> file:///C:/path is a perfectly valid URL for a local file on Windows, >> as a shorthand for file://localhost/C:/path. I'm surprised Unix URLs >> for absolute paths do not start with file:////. > > I think the RFC assumes that the leading "/" is not part of the > directory name, so file:/// with =3D localhost and > =3D /etc/fstab (etc/fstab relative to /) becomes > file:///etc/fstab just like /pub/README on ftp.gnu.org is written as > ftp://ftp.gnu.org/pub/README and not ftp://ftp.gnu.org//pub/README That sounds like a plausible reading to me. Shouldn't this then mean that file://c:/some/file.txt is correct, but that file:///c:/bad/example.txt is wrong? > ,----[ rfc1738 ] > | 3.10 FILES > | > | =C2=A0 =C2=A0The file URL scheme is used to designate files accessible = on a > | =C2=A0 =C2=A0particular host computer. This scheme, unlike most other U= RL schemes, > | =C2=A0 =C2=A0does not designate a resource that is universally accessib= le over the > | =C2=A0 =C2=A0Internet. > | > | =C2=A0 =C2=A0A file URL takes the form: > | > | =C2=A0 =C2=A0 =C2=A0 =C2=A0file:/// > | > | =C2=A0 =C2=A0where is the fully qualified domain name of the sys= tem on > | =C2=A0 =C2=A0which the is accessible, and is a hierarchic= al > | =C2=A0 =C2=A0directory path of the form //.../. > `---- > > Bye, Reiner. > -- > =C2=A0 =C2=A0 =C2=A0 ,,, > =C2=A0 =C2=A0 =C2=A0(o o) > ---ooO-(_)-Ooo--- =C2=A0| =C2=A0PGP key available =C2=A0| =C2=A0http://rs= teib.home.pages.de/ > > > > >