CGI::NoPoison

Description

CGI::NoPoison is No Poison Null Byte in CGI->Vars. SYNOPSIS use CGI; use CGI::NoPoison my $m = CGI->new(); $m->param( -name=>amplifier, -value=>[nine, ten, up to eleven], ); my %h = $m->Vars(); # look ma, no splitting on poison null-bytes ( )! print "$_ => ", join ", ", @{$h{$_}} for keys %h; print "This one goes ", ($m->param(amplifier))[2]; Simplicity itself. Instead of using a null-byte to separate multi-valued fields why not just use what CGI.pm already uses to store the values internally? "Whats that?", you ask? Why, its an anonymous array, of course, like anyone sensible would use. cgi-lib.pl may have been fine years and years ago, but this now-archaic throwback no longer needs us to bow to its demands. (is anyone still actually using it? yikes.) This does, however change how you parse CGI->Vars() (as an anon-array, not a -packed string) and also how you set params. NOW you can properly test for inserted null-bytes in a secure environment WHILE taking advantage of the convenience of the Vars() function..

Cgi - Nopoison - No Poison Null Byte - Cginopoison - Poison - Vars - Null - Byte - Libraries - Programming

Published By:Scott R. Godin

License Type:Freeware

Date Added:25 October, 2010

Version:3.11

Price:Free

Downloads:2

Size:12.3 KB

Platform: Linux

What people say
- required fields
     
Related Downloads

tivo_mail is a TiVO mail fetcher plugin. tivo_mail is a hack I threw together after reading about a stock quote hack written by G.R. Souther (Zirak). It requires the new osd writer by cwingert ( http://www.tivocommunity.com/tivo-vb/attachment.php?

DateSep 9, 2010

AuthorAaron D. Marasco

Size143.4 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Internet

Class::DBI::Plugin::FilterOnClick is a Perl module to generate browsable and searchable HTML Tables using FilterOnClick in conjunction with Class::DBI.

DateAug 21, 2010

AuthorAaron Johnson

Size24.6 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

CGI::Cache is a Perl extension to help cache output of time-intensive CGI scripts. WARNING The interface as of version 1.01 has changed considerably and is NOT compatible with earlier versions.

DateOct 28, 2010

AuthorBroc Seib

Size44.0 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

freeCGI++ is a full featured C++ class hierarchy used to build CGI type applications. This library is provided with a BSD license and is free for any type of use.

DateAug 26, 2010

AuthorAlex Chacha

Size409.6 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Internet

Wsh, "Web Shell" is a remote UNIX/WIN shell, that works via HTTP/HTTPS.

DateOct 13, 2010

AuthorAlex Dyatlov

Size24.6 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Internet