Beefy Boxes and Bandwidth Generously Provided by pair Networks
go ahead... be a heretic
 
PerlMonks  

Re: How to safely define a CGI program's application base directory

by Khen1950fx (Canon)
on Feb 10, 2013 at 23:58 UTC ( #1018079=note: print w/ replies, xml ) Need Help??


in reply to How to safely define a CGI program's application base directory

I couldn't replicate the error. How are you turning on taint mode? Taint mode must be called with -T on the cmdline and on the shebang line.


Comment on Re: How to safely define a CGI program's application base directory
Download Code
Re^2: How to safely define a CGI program's application base directory
by choroba (Abbot) on Feb 11, 2013 at 00:28 UTC
    It should be easy. In Linux, I just tried
    AppBase=/qqq perl -T -e '#!/usr/bin/perl -T open my $FH, ">", $ENV{AppBase} or die $!;'
    لսႽ ᥲᥒ⚪⟊Ⴙᘓᖇ Ꮅᘓᖇ⎱ Ⴙᥲ𝇋ƙᘓᖇ

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1018079]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others musing on the Monastery: (18)
As of 2014-09-19 15:32 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (142 votes), past polls