From edi at agharta.de Thu Sep 2 04:48:24 2004 From: edi at agharta.de (Edi Weitz) Date: Thu, 02 Sep 2004 06:48:24 +0200 Subject: [tbnl-announce] New version 0.2.11 (Was: (post-parameters) strange behaviour ?) In-Reply-To: <20040901194821.GN28832@parsec.no-spoon.de> (Stefan Scholl's message of "Wed, 1 Sep 2004 21:48:21 +0200") References: <4135F847.20701@paoloastori.com> <87vfexvn67.fsf@bird.agharta.de> <20040901194821.GN28832@parsec.no-spoon.de> Message-ID: <87u0uhp97r.fsf_-_@bird.agharta.de> On Wed, 1 Sep 2004 21:48:21 +0200, Stefan Scholl 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.