[Top][All Lists]

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

bug#6339: url-filename => "/c:/some/file.txt"

From: Juanma Barranquero
Subject: bug#6339: url-filename => "/c:/some/file.txt"
Date: Thu, 6 Oct 2011 16:30:46 +0200

On Thu, Oct 6, 2011 at 16:24, Jason Rumney <address@hidden> wrote:

> This is a general url-parsing function, changing this to not return
> the leading / on the file portion of the url will break every other user
> of this function.

Only the ones that incorrectly assume that the slash is part of the
path. The ones that use expand-file-name, as Kevin pointed out, will
continue to work.

> This needs to be done for file URLs only

Perhaps, but for non-file URLs, the slash isn't part of the path
either. That's what the RFCs say.

> and be system-dependent.

That's a hack.


reply via email to

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