SilverB1rd has asked for the wisdom of the Perl Monks concerning the following question:
How do I untaint $temp?$temp = "$ENV{'QUERY_STRING'}"; $temp =~ tr/\/A-Za-z0-9_.-//dc; $temp =~ s/\/\.\.//g;
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Untainted done right!
by arturo (Vicar) on Feb 12, 2001 at 23:40 UTC | |
by Corion (Patriarch) on Feb 12, 2001 at 23:47 UTC | |
by arturo (Vicar) on Feb 12, 2001 at 23:50 UTC | |
(tye)Re: Untainted done right!
by tye (Sage) on Feb 12, 2001 at 23:29 UTC | |
Re (tilly) 1: Untainted done right!
by tilly (Archbishop) on Feb 13, 2001 at 09:11 UTC | |
by SilverB1rd (Scribe) on Feb 13, 2001 at 20:11 UTC | |
by arturo (Vicar) on Feb 13, 2001 at 20:16 UTC | |
Re: Untainted done right!
by KM (Priest) on Feb 13, 2001 at 20:36 UTC |
Back to
Seekers of Perl Wisdom