|
|
| Perl: the Markov chain saw | |
| PerlMonks |
Re^2: Taint and get paramsby jatill (Beadle) |
| on Aug 22, 2007 at 19:45 UTC ( [id://634502]=note: print w/replies, xml ) | Need Help?? |
|
Deep within a module I am using I found this code lurking:
# Untaint all ENV variables
foreach ( keys %ENV ) {
$ENV{$_} =~ m/(.*)/;
$ENV{$_} = $1;
}
So it looks like I'm untainting QUERY_STRING, which would be my problem. Thanks for your help pointing me in the right direction.
In Section
Seekers of Perl Wisdom
|
|
||||||||||||||||||||||||||||||