| 1 | Source: libcgi-untaint-perl |
| 2 | Maintainer: Debian Perl Group <[email protected]> |
| 3 | Uploaders: Dominic Hargreaves <[email protected]> |
| 4 | Section: perl |
| 5 | Testsuite: autopkgtest-pkg-perl |
| 6 | Priority: optional |
| 7 | Build-Depends: debhelper-compat (= 13) |
| 8 | Build-Depends-Indep: perl, |
| 9 | libcgi-pm-perl | perl (<< 5.19), |
| 10 | libuniversal-require-perl, |
| 11 | libtest-pod-perl, |
| 12 | libtest-pod-coverage-perl |
| 13 | Standards-Version: 4.1.3 |
| 14 | Vcs-Browser: https://salsa.debian.org/perl-team/modules/packages/libcgi-untaint-perl |
| 15 | Vcs-Git: https://salsa.debian.org/perl-team/modules/packages/libcgi-untaint-perl.git |
| 16 | Homepage: https://metacpan.org/release/CGI-Untaint |
| 17 | |
| 18 | Package: libcgi-untaint-perl |
| 19 | Architecture: all |
| 20 | Depends: ${perl:Depends}, |
| 21 | ${misc:Depends}, |
| 22 | libuniversal-require-perl |
| 23 | Recommends: libcgi-pm-perl | perl (<< 5.19) |
| 24 | Description: module to process CGI input parameters |
| 25 | Dealing with large web based applications with multiple forms is a |
| 26 | minefield. It's often hard enough to ensure you validate all your |
| 27 | input at all, without having to worry about doing it in a consistent |
| 28 | manner. If any of the validation rules change, you often have to alter |
| 29 | them in many different places. And, if you want to operate taint-safe, |
| 30 | then you're just adding even more headaches. |
| 31 | . |
| 32 | CGI::Untaint provides a simple, convenient, abstracted and extensible |
| 33 | manner for validating and untainting the input from web forms. |
| 34 | . |
| 35 | You simply create a handler with a hash of your parameters (usually |
| 36 | $q->Vars), and then iterate over the fields you wish to extract, |
| 37 | performing whatever validations you choose. The resulting variable is |
| 38 | guaranteed not only to be valid, but also untainted. |