![]() |
|
Problems? Is your data what you think it is? | |
PerlMonks |
Re: Confused about Taintby Maclir (Curate) |
on Jul 13, 2000 at 02:16 UTC ( #22294=note: print w/replies, xml ) | Need Help?? |
It sounds like you are running under mod_perl. From the mod_perl manual:
Since the -T switch doesn't have an equivalent perl variable, mod_perl provides the PerlTaintCheck directive to turn on taint checks. In httpd.conf, enable this mode with: Now any code compiled inside httpd will be taint checked. If you use the -T switch, Perl will warn you that you should use the PerlTaintCheck configuration directive and will otherwise ignore it. Now that means you have to have the authority to change your apache config files, and restart the server. I also imagine that all perl cgi programs that run under mod_perl then (check your scriptalias setting) will be taint checked - which may cause other programs to break. Ken
In Section
Seekers of Perl Wisdom
|
|