bug-gnu-emacs
[Top][All Lists]
Advanced

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

bug#5345: Password asked when visiting a file in a lightweight checkout


From: Juanma Barranquero
Subject: bug#5345: Password asked when visiting a file in a lightweight checkout
Date: Sat, 9 Jan 2010 15:36:29 +0100

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 via email to

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