Dandello has asked for the wisdom of the Perl Monks concerning the following question:
I'm trying to 'detaint' a very large legacy script. It now runs properly with strict and warnings (finally) but ActiveState Perl v5.24.3 (on Win7 on an offline Wamp server) and Perl v5.16.3 (on *nix on a commercially hosted VPS using Apache and cPanel) give me different results when 'use tainting' is active.
This is the first time I've had issues (aside from when cleaning up deprecated code) with the differences between ActiveState Perl and what c-Panel installs.
Now, I know there is tainted incoming data - but ActiveState Perl only gave me some of the offenders, not all the offenders.
Any hints on how to 'detaint' on the off-line server when tainting says everything is fine?
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: taint mode differences between ActiveState Perl and cPanel Perl
by Corion (Patriarch) on Jan 19, 2019 at 17:03 UTC | |
by Dandello (Monk) on Jan 19, 2019 at 18:33 UTC |