On Sat, 8 Sep 2001, Philippe M . Chiasson wrote:
> Index: Apache-Test/lib/Apache/TestConfigParse.pm
> ===================================================================
> RCS file:
>/home/anoncvs/httpd-test-cvs/perl-framework/Apache-Test/lib/Apache/TestConfigParse.pm,v
> retrieving revision 1.9
> diff -u -I'$Id' -I'$Revision' -r1.9 TestConfigParse.pm
> --- Apache-Test/lib/Apache/TestConfigParse.pm 2001/09/06 21:10:03 1.9
> +++ Apache-Test/lib/Apache/TestConfigParse.pm 2001/09/08 09:29:28
> @@ -221,7 +221,9 @@
> my $version;
> my $cmd = "$httpd -v";
> # untaint
> - local $ENV{PATH};
> + local %ENV;
> + delete @ENV{'IFS', 'CDPATH', 'ENV', 'BASH_ENV'};
> +
> open my $v, '-|', $cmd or die "$cmd failed: $!";
>
> local $_;
committed.
though you have missed PATH, so I've added it.
_____________________________________________________________________
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/
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]