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
[EMAIL PROTECTED]
+1.734.476.0969


_______________________________________________ Bug-guile mailing list [email protected] http://lists.gnu.org/mailman/listinfo/bug-guile

Reply via email to