GNU bug report logs - #8706
24.0.50; [PATCH] Function to build a URL query-string

Previous Next

Package: emacs;

Reported by: Ian Eure <ian <at> simplegeo.com>

Date: Fri, 20 May 2011 18:40:02 UTC

Severity: wishlist

Tags: patch

Found in version 24.0.50

Done: Chong Yidong <cyd <at> gnu.org>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Stefan Monnier <monnier <at> iro.umontreal.ca>
To: Ian Eure <ian <at> simplegeo.com>
Cc: Ted Zlatanov <tzz <at> lifelogs.com>, 8706 <at> debbugs.gnu.org
Subject: bug#8706: 24.0.50; [PATCH] Function to build a URL query-string
Date: Tue, 07 Jun 2011 15:12:14 -0300
> (url-parse-query-string "a=b&c=") -> (("c" "") ("a" "b"))

The question at hand is different and relates to what is returned by
(url-parse-query-string "a&c") which happens to be nil.  Not sure if
that's right, tho.

> Here's an updated patch which should correctly support everything
> url-parse-query-string produces.  I also updated it to allow empty
> keys, as this was fairly easy with the code refactored to support (key
> val val val) syntax.

> +symbols; if they are symbols, the string name will be used."
                                     ^^^^^^
                                     symbol

-- Stefan




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

Previous Next


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