CGI::Untaint::Filenames - CGI::Untaint::Filenames - untaint filename values from CGI programs
use CGI::Untaint::Filenames; my $handler = CGI::Untaint->new( $q->Vars() ); my $filename = $handler->extract( -as_filename => 'some_feature' );
perl Build.PL ./Build ./Build test ./Build install
While it is valid to end a UNIX filename with \# ! and % I haven't got those incorporated into the regular expression. Test cases exist but are currently commented out.
Please report any fixes and other bugs to http://rt.cpan.org/.
Bug reports welcome, see above.
Dana Hudes CPAN ID: DHUDES dhudes@hudes.org http://www.hudes.org
This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
The full text of the license can be found in the LICENSE file included with this module.
perl(1). CGI::Untaint, Test::CGI::Untaint
To install CGI::Untaint::Filenames, copy and paste the appropriate command in to your terminal.
cpanm
cpanm CGI::Untaint::Filenames
CPAN shell
perl -MCPAN -e shell install CGI::Untaint::Filenames
For more information on module installation, please visit the detailed CPAN module installation guide.