Greetings,
I seriously need some kind of taint checking. Does anyone have it
running with Mason? Can anyone give me set-up tips?
'PerlTaintCheck On' in apache 1.3 seems to do nothing - I expected
errors since I have not used the 'taint_check' attribute with
HTML::Mason::Parser. How is this done? I have a custom handler, but it
only creates HTML::Mason::ApacheHandler, I have no idea how to
manipulate the parser.
<IfModule mod_perl.c>
PerlTaintCheck On
<perl>
eval { require HTML::MasonHandler; };
warn "Trouble loading the Mason request handler:\n$@" if($@);
</perl>
# Serve these files through Mason.
<FilesMatch "(\.dhtm|\.pl)$">
SetHandler perl-script
PerlHandler HTML::MasonHandler
Options +ExecCGI
</FilesMatch>
</IfModule>
Is there a better approach to taint check enforcement?
Many thanks,
--
Chris
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
Mason-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mason-users