Tony Bowden > CGI-Untaint-1.26 > CGI::Untaint::printable

Download:
CGI-Untaint-1.26.tar.gz

Dependencies

Annotate this POD

CPAN RT

New  3
Open  0
Stalled  2
View/Report Bugs
Source  

NAME ^

CGI::Untaint::printable - validate as a printable value

SYNOPSIS ^

  my $name = $handler->extract(-as_printable => 'name');

DESCRIPTION ^

This Input Handler verifies that it is dealing with an 'printable' string i.e. characters in the range \040-\377 (plus \r and \n).

The empty string is taken to be printable.

This is occasionally a useful 'fallback' pattern, but in general you will want to write your own patterns to be stricter.

syntax highlighting: