GNU bug report logs - #6252
Emacs does not implement URL (aka "percent") decoding correctly.

Previous Next

Package: emacs;

Reported by: José A. Romero L. <escherdragon <at> gmail.com>

Date: Sun, 23 May 2010 00:52:02 UTC

Severity: normal

Tags: fixed

Fixed in version 24.2

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

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Lars Magne Ingebrigtsen <larsi <at> gnus.org>
To: José A. Romero L. <escherdragon <at> gmail.com>
Cc: 6252 <at> debbugs.gnu.org
Subject: bug#6252: Emacs does not implement URL (aka "percent") decoding correctly.
Date: Thu, 22 Sep 2011 09:38:31 +0200
José A. Romero L. <escherdragon <at> gmail.com> writes:

> in short, there seems to be currently no way to perform the opposite
> of url-hexify-string for UTF-8 encoded strings:
>
>     (url-unhex-string (url-hexify-string "ä"))
>     => "ä"

`url-unhex-string' can't know what encoding the %xx-encoding is in, can
it?  The local part of an URL can use a different encoding, I think.

But is that the test case for the bug?  I thought somebody had problems
retrieving something...

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




This bug report was last modified 13 years and 104 days ago.

Previous Next


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