CGI::Untaint - process CGI input parameters

Dealing with large web based applications with multiple forms is a minefield. It's often hard enough to ensure you validate all your input at all, without having to worry about doing it in a consistent manner. If any of the validation rules change, y...

TMTM/CGI-Untaint-1.26 - 20 Sep 2005 21:52:35 GMT - Search in distribution

CGI::Untaint::isbn - validate an isbn

This Input Handler verifies that it is dealing with a reasonable isbn (i.e. one that Business::ISBN believes to be valid.)...

SRUSHE/CGI-Untaint-isbn-0.01 - 11 Dec 2001 15:10:13 GMT - Search in distribution


A plugin for CGI::Untaint, this attempts to validate input as looking vaguely like a telephone number. Numbers may optionally start with a +, and may contain dots and dashes, which will be stripped out. TODO: Ensure that dots and dashes aren't allowe...

TJC/CGI-Untaint-telephone-0.03 - 30 Aug 2006 13:29:41 GMT - Search in distribution

CGI::Untaint::creditcard - validate a creditcard

is_valid This Input Handler verifies that it is dealing with a reasonable credit card number (i.e. one that Business::CreditCard::Object believes to be valid.) The resulting object will be set back into value()....

TMTM/CGI-Untaint-creditcard-1.00 - 20 Sep 2005 21:04:33 GMT - Search in distribution

CGI::Untaint::set - untaint sets of values

Untaints an arrayref (as might be submitted by an HTML multiple select form field, or multiple selections from a checkbox group) as a comma separated string suitable for use as a value for a MySQL (maybe others?) SET column. Values are validated agai...

DAVEBAIRD/CGI-Untaint-set-0.01 - 27 May 2005 20:11:39 GMT - Search in distribution

CGI::Untaint::url - validate a URL

is_valid This Input Handler verifies that it is dealing with a reasonable URL. This mostly means that it will find the first thing that looks like a URL in your input, where by "looks like", we mean anything that URI::URL thinks is sensible, (with so...

TMTM/CGI-Untaint-url-1.00 - 03 Sep 2005 19:38:36 GMT - Search in distribution

CGI::Untaint::Winfilename - CGI::Untaint::Winfilename - untaint Windows filename values from CGI programs

This input handler verifies that it has a a valid (Windows) filename. It provides the regex and a subroutine for a handler. Extensive test cases are provided....

DHUDES/CGI-Untaint-Filenames-0.3 - 22 Aug 2004 21:45:24 GMT - Search in distribution

CGI::Untaint::html - validate sanitized HTML

Web forms which take HTML from the user for later display on site open themselves up to the potential of cross-site scripting attacks, messy sites due to unclosed tags, or merely big images of Barney the Purple Dinosaur. HTML::Sanitizer helps elimina...

SIMON/CGI-Untaint-html-1.0 - 24 Mar 2004 17:29:15 GMT - Search in distribution

Test::CGI::Untaint - Test CGI::Untaint Local Extraction Handlers

The CGI::Untaint module can be extended with "Local Extraction Handlers" that can be used define new ways of untainting data. This module is designed to test these data extraction modules. It does this with the following methods: is_extractable Tests...

PROFERO/Test-CGI-Untaint-1.10 - 15 Oct 2003 16:29:43 GMT - Search in distribution

CGI::Untaint::date - validate a date

is_valid This Input Handler verifies that it is dealing with a reasonable date. Reasonably means anything that Date::Manip thinks is sensible, so you could use any of (for example): "December 12, 2001" "12th December, 2001" "2001-12-12" "next Tuesday...

TMTM/CGI-Untaint-date-1.00 - 26 Sep 2005 13:38:48 GMT - Search in distribution

CGI::Untaint::asin - validate an Amazon ID

This CGI::Untaint input handler verifies that it is dealing with a plausible Amazon ID (asin). It does not (yet?) check that this is a *real* asin, just that it looks like one....

TMTM/CGI-Untaint-asin-1.02 - 20 Sep 2005 13:20:14 GMT - Search in distribution

CGI::Untaint::datetime - validate a date

This Input Handler verifies that the input is a valid datetime, as specified by ISO 8601, that is, something resembling YYYY-MM-DDTHH:MM:SS it can even handle YYYY-MM-DD HH::MM::SS or YYYY-MM-D HH::MM...

MRAMBERG/CGI-Untaint-datetime-0.06 - 06 Sep 2005 13:25:54 GMT - Search in distribution

CGI::Untaint::email - validate an email address

CGI::Untaint::email input handler verifies that it is a valid RFC2822 mailbox format. The resulting value will be a Mail::Address instance....

MIYAGAWA/CGI-Untaint-email-0.03 - 29 Oct 2001 11:50:53 GMT - Search in distribution

CGI::Untaint::upload - receive a file upload

This CGI::Untaint handler receives a file from an upload field, returning its filename and contents. This may be used as a base class for validating that a file upload conforms to certain properties. It's important that you use "CGI->param" rather th...

SIMON/CGI-Untaint-upload-1.0 - 28 Oct 2003 17:26:39 GMT - Search in distribution

CGI::Untaint::Twitter - Validate a Twitter ID in a CGI script

NHORNE/CGI-Untaint-Twitter-0.04 - 26 Nov 2014 16:05:25 GMT - Search in distribution

CGI::Untaint::hostname - untaint DNS host names

This module untaints and validates DNS host names. Validation means that the name has the correct syntax specified in RFC 1035 section 3.5 (page 10), not that it exists (after all you could use this in a web front-end to a dns zone maintenance system...

DHUDES/CGI-Untaint-hostname-0.1 - 11 Jul 2004 23:37:38 GMT - Search in distribution

CGI::Untaint::Facebook - Validate a string is a valid Facebook URL or ID

NHORNE/CGI-Untaint-Facebook-0.13 - 04 Nov 2015 16:12:16 GMT - Search in distribution

CGI::Untaint::ipaddress - validate an IP address

This CGI::Untaint input handler verifies that it is dealing with a reasonable IP. It does not check that the IP address is routable or reserved....

SIMON/CGI-Untaint-ipaddress-0.01 - 22 Sep 2003 18:59:21 GMT - Search in distribution

CGI::Untaint::uk_postcode - validate a UK postcode

This CGI::Untaint input handler verifies that it is dealing with a reasonably plausible UK postcode, according to some checks by the Royal Mail. Due to the complexities of the UK postal code system it is impossible to accurately check if the postcode...

TMTM/CGI-Untaint-uk_postcode-1.00 - 20 Sep 2005 21:23:21 GMT - Search in distribution

CGI::Untaint::us_date - CGI::Untaint::date for US-formatted dates

MSOUTH/CGI-Untaint-us_date-0.01 - 15 May 2010 18:53:11 GMT - Search in distribution