[tbnl-devel] New version 0.2.11 (Was: (post-parameters) strange behaviour ?)

Edi Weitz edi at agharta.de
Thu Sep 2 04:48:24 UTC 2004


On Wed, 1 Sep 2004 21:48:21 +0200, Stefan Scholl <stesch at 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.




More information about the Tbnl-devel mailing list