GNU bug report logs - #8622
24.0.50; url-parse does not implement RFC3986 5.2

Previous Next

Package: emacs;

Reported by: Julien Danjou <julien <at> danjou.info>

Date: Thu, 5 May 2011 16:15:02 UTC

Severity: normal

Tags: fixed

Found in version 24.0.50

Done: Lars Ingebrigtsen <larsi <at> gnus.org>

Bug is archived. No further changes may be made.

Full log


Message #35 received at 8622 <at> debbugs.gnu.org (full text, mbox):

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: Julien Danjou <julien <at> danjou.info>
Cc: 8622 <at> debbugs.gnu.org, Andreas Schwab <schwab <at> linux-m68k.org>
Subject: Re: bug#8622: 24.0.50; url-parse does not implement RFC3986 5.2
Date: Sun, 11 Sep 2011 18:04:08 +0200
Julien Danjou <julien <at> danjou.info> writes:

> Men, this is getting me crazy. Let me rephrase the whole thing.
>
> You got an URL of the form:
>
>     http://a/../../../foobar.png
>
> If you use Firefox, Chromium, wget, or whatever to retrieve it, the
> program will act according to RFC3986 and transform that URL to:
>
>     http://a/foobar.png

Where in RFC3986 does it say that you're supposed to do that?  5.2
(etc.) only talks about relative URLs.

You may be totally correct that url.el should do this, ../-stripping in
absolute URLs, but does the RFC actually say so?

-- 
(domestic pets only, the antidote for overdose, milk.)
  bloggy blog http://lars.ingebrigtsen.no/




This bug report was last modified 7 years and 122 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.