Beefy Boxes and Bandwidth Generously Provided by pair Networks Bob
Welcome to the Monastery
 
PerlMonks  

Re: Taint checking at the command line in Win32

by idnopheq (Chaplain)
on May 04, 2001 at 11:10 UTC ( [id://77922]=note: print w/replies, xml ) Need Help??

This is an archived low-energy page for bots and other anonmyous visitors. Please sign up if you are a human and want to interact.


in reply to Taint checking at the command line in Win32

Yep ... there are a few ways 'round it. Some are more equal than others ...

Modify the file type from Windows/NT Explorer. This will make taint checking permanant, so use this with caution. Go to Tools - Folder Options. Click on the File Types tab, and scroll down until you find PL. Select it and click Edit or Advanced. Select the Open action and click Edit. Add -T after perl.exe but before the "%1".

Or, and I like this better, use the runperl.bat or pl2bat.bat, modifying the shebang line after setting the .bat file up to wrap your script. This option makes taint checking specific to the scripts you want, versus the global option above. This method also allows piping, which the .pl file association does not.

HTH
--
idnopheq
Apply yourself to new problems without preparation, develop confidence in your ability to to meet situations as they arrise.

  • Comment on Re: Taint checking at the command line in Win32

Replies are listed 'Best First'.
Re: Re: Taint checking at the command line in Win32
by frag (Hermit) on May 04, 2001 at 15:30 UTC
    It would really be nice if there was a use taint; pragma to deal with this.

    15 minutes and one Google search later... Turns out that this has been knocked around on Perl6-language, starting with Re: RFC 288 (v2) First-Class CGI Support.

    -- Frag.

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://77922]
help
Sections?
Information?
Find Nodes?
Leftovers?
    Notices?
    hippoepoptai's answer Re: how do I set a cookie and redirect was blessed by hippo!
    erzuuliAnonymous Monks are no longer allowed to use Super Search, due to an excessive use of this resource by robots.