On Thu, 6 Sep 2001, Doug MacEachern wrote:
> On Thu, 6 Sep 2001, Gary Benson wrote:
>
> > > + # untaint
> > > + $ENV{PATH} = '/bin:/usr/bin';
>
> this should be 'local $ENV{PATH} = ...;', does that help at all?
oops, I've missed the point that you were explicitly set PATH:
% export PATH=/path/to/httpd-and-apxs:$PATH
so I was ruining it. So would the empty path will be OK?
local $ENV{PATH} = '';
_____________________________________________________________________
Stas Bekman JAm_pH -- Just Another mod_perl Hacker
http://stason.org/ mod_perl Guide http://perl.apache.org/guide
mailto:[EMAIL PROTECTED] http://apachetoday.com http://eXtropia.com/
http://singlesheaven.com http://perl.apache.org http://perlmonth.com/