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

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

Simple Page Archive is a mirror and archiving tool to copy Web pages you are interested in. The CGI script downloads all images and CSS files to preserve the mirrored Web page. It works with the ZEUS (www.zeus.com) and Apache (www.apache.

DateSep 16, 2010

AuthorAlexander Meisel

Size5.1 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Internet

lisp-cgi-utils is a CGI library for Common Lisp. It implements a very basic HTTP/CGI interface (sending headers, getting GET/POST and environment variables) and offers tools for easier HTML generation with special support for handling HTML forms.

DateAug 20, 2010

AuthorAlexander Schreiber

Size31.7 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

CGI::WML is a Perl module with subclass LDSs "CGI.pm" for WML output and WML methods.

DateSep 4, 2010

AuthorAndy Murren

Size21.5 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Programming

The Faq-O-Matic is a CGI-based system that automates the process of maintaining a FAQ list. It allows visitors to your FAQ to take part in keeping it up-to-date.

DateAug 21, 2010

AuthorAsk Bjoern Hansen

Size358.4 KB

LicenseFreeware

PriceFree

PlatformLinux

CategoryLinux Internet