bug-guile
[Top][All Lists]
Advanced

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

guile-www-2.9 (www cgi) names in query-string not url-decoded


From: Alan Grover
Subject: guile-www-2.9 (www cgi) names in query-string not url-decoded
Date: Mon, 11 Apr 2005 19:10:24 -0400
User-agent: Mozilla Thunderbird 0.7 (X11/20040615)

The (www cgi) module parses query-string/form-data without performing an url-decode on names. Values are url-decoded.

Module: www cgi
Version: 2.9

Example:
        http://gnu.org?with%26amper=
should parse to ("with&amper" . '()). But, incorrectly parses to ("with%26amper" . '()).


Suggested patch:

cgi.scm

286c286
<       (and p (subs pair 0 p))))
---
>       (and p (url-coding:decode (subs pair 0 p)))))

--
Alan Grover
address@hidden
+1.734.476.0969




reply via email to

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