On Wed, 1 Sep 2004 21:48:21 +0200, Stefan Scholl stesch@no-spoon.de wrote:
Haven't read the RFC, but cgi.rb (CGI library of Ruby) decodes names and values.
key, value = pairs.split('=',2).collect{|v| CGI::unescape(v) }
CGI.pm (CGI library of Perl), too.
$param = unescape($param); $value = unescape($value);
OK, thanks for the info.
So I think we should follow their lead. I've released a new version:
Version 0.2.11 2004-09-02 FORM-URL-ENCODED-LIST-TO-ALIST now decodes names and values
Note that this change affects the names of GET and POST parameters as well as the names of cookies.
Cheers, Edi.