in reply to Re: Re: Taint Mode on an Old Web Server
in thread Taint Mode on an Old Web Server

Okay, I am indeed getting the "Too late for option -T" error.

Now, the file extension is set as .cgi and the file association on the NT box is set for .cgi but there is no -T option among the default execution parameters.

So now that seems to be the problem, anyone else know why it's giving me that error despite the fact that it is not being executed with -T?
  • Comment on Re: Re: Re: Taint Mode on an Old Web Server

Replies are listed 'Best First'.
(crazyinsomniac) Re^4: Taint Mode on an Old Web Server
by crazyinsomniac (Prior) on Dec 19, 2001 at 10:34 UTC
    Perl, on windows, does not care what the path to perl is in your #! line, but it will process the switches (-w -T -l -whatever).

    So, it is giving you the error (not problem, but error) because it is being executed with -T.

    Now some good server, like apache, do care about the path to perl on the #! line, but that is neither here nor there.

     
    ___crazyinsomniac_______________________________________
    Disclaimer: Don't blame. It came from inside the void

    perl -e "$q=$_;map({chr unpack qq;H*;,$_}split(q;;,q*H*));print;$q/$q;"