The stupid question is the question not asked | |
PerlMonks |
Re: perl 5.8.4, IO::Socket, and taint checkingby driver8 (Scribe) |
on Jun 12, 2004 at 18:12 UTC ( [id://363638]=note: print w/replies, xml ) | Need Help?? |
I don't have much experience with taint checking, so I'm not sure, but that doesn't look quite right to me. If the $base doesn't pass the conditional, you are still using it in the 'print get("$base/index.html");' even though it's tainted. What if you move the get up inside the conditional? What if you do else 'die'? Does this still give the error:
In Section
Seekers of Perl Wisdom
|
|