Stories
Slash Boxes
Comments
NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.

All the Perl that's Practical to Extract and Report

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • Wow. It's like it's 1997 all over again.

    You might like to read some of the criticism of Matt's CGI decoder that you'll find all over the web. And then incorporate fixes for those problems in your code.

    Two obvious problems that spring to mind:

    * No support for the ';' parameter separator which is now recommended over '&'.

    * No support for multiple parameters with the same name.
    • I know. Thats why I said there are bugs in there. However, if you know you will only get & separators and all you want to transport via the URL is some integers or booleans values, than it works pretty well.

      As opposed to Matt's decoder there is no security hole in that code.

      All the bugs you mentioned are easily fixed. My point was, that having a thing like the CGI object in JavaScript is nice :) That's all.