On Sat, Sep 08, 2001 at 05:48:50PM +0800, Stas Bekman wrote:
> 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.
Cut-n-Paste is evil ;-(
> _____________________________________________________________________
> 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]
>
--
Philippe M. Chiasson <[EMAIL PROTECTED]>
Extropia's Resident System Guru
http://www.eXtropia.com/
When you rewrite a compiler from scratch, you sometimes fix
things you didn't know were broken.
-- Larry Wall
perl -e '$$=\${gozer};{$_=unpack(P26,pack(L,$$));/^Just Another Perl
Hacker!\n$/&&print||$$++&&redo}'
PGP signature