Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
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
Replies are listed 'Best First'.
Re^2: How to safely define a CGI program's application base directory
by choroba (Chancellor) 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 imbibing at the Monastery: (5)
As of 2016-02-11 00:43 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How many photographs, souvenirs, artworks, trophies or other decorative objects are displayed in your home?





    Results (357 votes), past polls