in reply to •Re: anti leech CGI
in thread anti leech CGI
BTW, wouldn't taint have caught this? He's trusting user supplied data (DNS name) in an unsafe way.my $remote = $ENV{REMOTE_ADDR}; return(0) unless grep /$remote/, @$hosts;
Update: See merlyn's reply on how to do this right.
-- Dan
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
•Re: Re: •Re: anti leech CGI
by merlyn (Sage) on Oct 30, 2002 at 15:41 UTC |