all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Juanma Barranquero <lekktu@gmail.com>
To: Eli Zaretskii <eliz@gnu.org>
Cc: 5345@debbugs.gnu.org, Dan Nicolaescu <dann@ics.uci.edu>
Subject: bug#5345: Password asked when visiting a file in a lightweight checkout
Date: Sat, 9 Jan 2010 15:36:29 +0100	[thread overview]
Message-ID: <f7ccd24b1001090636p1855c3fay194654f65b27211@mail.gmail.com> (raw)
In-Reply-To: <83vdfb8jxa.fsf@gnu.org>

On Sat, Jan 9, 2010 at 14:52, Eli Zaretskii <eliz@gnu.org> wrote:

> Here's the bug:

You're right.

> some code thinks that "C:/foo" is not an absolute file
> name, probably because it checks for the leading slash.

In fact, what happens is that a regular expression is removing the
initial file:// from a file: URI, and not taking into account that it
could start with a triple-slash. Or it *is* taking it into account and
doing it on purpose to get a /path on Unix.

If removing three slashes is OK, the patch is as easy as changing
"file://\\(.+\\)" to "file:///?\\(.+\\)". If not, a check for windows
(or for a Windows-style path) will have to be done.

Dan, comments?

   Juanma






  reply	other threads:[~2010-01-09 14:36 UTC|newest]

Thread overview: 29+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
     [not found] <f7ccd24b1001091308y34abf466j1424a588134a83e6@mail.gmail.com>
2010-01-09  2:41 ` bug#5345: Password asked when visiting a file in a lightweight checkout Juanma Barranquero
2010-01-09 10:11   ` Michael Albinus
2010-01-09 12:44     ` Juanma Barranquero
2010-01-09 13:52       ` Eli Zaretskii
2010-01-09 14:36         ` Juanma Barranquero [this message]
2010-01-09 18:46           ` Dan Nicolaescu
2010-01-09 19:06             ` Juanma Barranquero
2010-01-09 19:20               ` Dan Nicolaescu
2010-01-09 20:08                 ` Juanma Barranquero
2010-01-09 20:39                   ` Dan Nicolaescu
2010-01-09 20:57                     ` Lennart Borgman
2010-01-09 21:04                       ` Juanma Barranquero
2010-01-09 21:12                         ` Lennart Borgman
2010-01-10 14:10                   ` Reiner Steib
2010-01-10 17:48                     ` Lennart Borgman
2010-01-10 19:27                       ` Juanma Barranquero
2010-01-10 19:40                         ` Lennart Borgman
2010-01-10 20:06                           ` Juanma Barranquero
2010-01-10 20:10                             ` Lennart Borgman
2010-01-10 20:21                               ` Juanma Barranquero
2010-01-10 20:35                                 ` Lennart Borgman
2010-01-12 18:09                                   ` Reiner Steib
2010-01-09 21:15                 ` Michael Albinus
2010-01-09 21:33                   ` Dan Nicolaescu
2010-01-10  6:51                     ` Michael Albinus
2010-01-10 17:52                       ` Eli Zaretskii
2010-01-10 19:07                         ` Michael Albinus
2010-01-09 18:53       ` Michael Albinus
2010-01-09 21:09   ` bug#5345: marked as done (Password asked when visiting a file in a lightweight checkout) Emacs bug Tracking System

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=f7ccd24b1001090636p1855c3fay194654f65b27211@mail.gmail.com \
    --to=lekktu@gmail.com \
    --cc=5345@debbugs.gnu.org \
    --cc=dann@ics.uci.edu \
    --cc=eliz@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.