CGI::NoPoison 3.11
Sponsored Links
CGI::NoPoison 3.11 Ranking & Summary
File size:
0.012 MB
Platform:
Any Platform
License:
Perl Artistic License
Price:
Downloads:
1064
Date added:
2006-12-01
Publisher:
Scott R. Godin
CGI::NoPoison 3.11 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.
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 3.11 Screenshot
CGI::NoPoison 3.11 Keywords
CGI
NoPoison
No Poison Null Byte
NoPoison 3.11
vars
poison
null
byte
CGI::NoPoison
CGINoPoison
CGI::NoPoison 3.11
Libraries
Programming
Bookmark CGI::NoPoison 3.11
CGI::NoPoison 3.11 Copyright
WareSeeker periodically updates pricing and software information of CGI::NoPoison 3.11 full version from the publisher, so some information may be slightly out-of-date. You should confirm all information before relying on it. Software piracy is theft, Using crack, password, serial numbers, registration codes, key generators is illegal and prevent future development of CGI::NoPoison 3.11 Edition. Download links are directly from our publisher sites, torrent files or links from rapidshare.com, yousendit.com or megaupload.com are not allowed
Featured Software
Want to place your software product here?
Please contact us for consideration.
Contact WareSeeker.com
Related Information
Related Software
CGI::XMLApplication is an Object Oriented Interface for CGI Script Applications. Free Download
CGI::Application is a framework for building reusable web-applications. Free Download
CGI::Portable is a framework for server-generic web apps. Free Download
cgipplib is a small collection of support classes used to build CGI applications. Free Download
CGI-Shell provides a shell using CGI, so everyone who has a CGI directory on a Web server can also have a shell on it. Free Download
CGI::FormBuilder is a Perl module to easily generate and process stateful forms. Free Download
lisp-cgi-utils is a CGI library for Common Lisp. Free Download
CGI::MxScreen is a multi-screen stateful CGI framework. Free Download
Latest Software
Popular Software
Favourite Software