Joshua N Pritikin wrote:
Hi!

My setup is really simple, and because of this, I can't figure out
what is going wrong.  I am running:

Apache/2.0.47 (Debian GNU/Linux) mod_perl/1.99_10 Perl/v5.8.1

My apache2.conf contains:

PerlSwitches -T

That's the right way.


  <Location /~joshua/cgi-bin/opine.cgi>
    SetHandler perl-script
    PerlResponseHandler OHL::CGI
  </Location>

My CGI script uses CGI::Simple.  However, I can't find any data
which is tainted.  For example,

warn tainted(param('foo')); # false for any given foo

Am I doing something wrong?

Where does tainted() come from? I'm not familiar with that function.


Try running:

  local @ENV{qw(PATH BASH_SHELL)};
  qx[/bin/echo param('foo')]



__________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:[EMAIL PROTECTED] http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com


-- Reporting bugs: http://perl.apache.org/bugs/ Mail list info: http://perl.apache.org/maillist/modperl.html



Reply via email to