CGI-Untaint
Cgi-untaint
https://metacpan.org/release/CGI-Untaint
module to 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, you often have to alter them in many different places. And, if you want to operate taint-safe, then you're just adding even more headaches.
CGI::Untaint provides a simple, convenient, abstracted and extensible manner for validating and untainting the input from web forms.
You simply create a handler with a hash of your parameters (usually $q->Vars), and then iterate over the fields you wish to extract, performing whatever validations you choose. The resulting variable is guaranteed not only to be valid, but also untainted.
Download
http://ftp.debian.org/debian/pool/main/libc/libcgi-untaint-perl/libcgi-untaint-perl_1.26.orig.tar.gz
Categories
Licensing
License
Verified by
Verified on
Notes
License
Verified by
Debian: gregor herrmann <gregoa@debian.org>
Verified on
11 August 2014
Notes
License: artistic or gpl-1+
Leaders and contributors
Contact(s) | Role |
---|---|
Tony Bowden | contact |
Resources and communication
Audience | Resource type | URI |
---|---|---|
Debian (Ref) (R) | https://tracker.debian.org/pkg/libcgi-untaint-perl | |
Perl (Ref) | https://metacpan.org/release/CGI-Untaint |
Software prerequisites
Permission is granted to copy, distribute and/or modify this document under the terms of the GNU Free Documentation License, Version 1.3 or any later version published by the Free Software Foundation; with no Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A copy of the license is included in the page “GNU Free Documentation License”.
The copyright and license notices on this page only apply to the text on this page. Any software or copyright-licenses or other similar notices described in this text has its own copyright notice and license, which can usually be found in the distribution or license text itself.