Beefy Boxes and Bandwidth Generously Provided by pair Networks
No such thing as a small change

Re: Vetting a CGI script

by calin (Deacon)
on Nov 12, 2003 at 17:35 UTC ( #306564=note: print w/ replies, xml ) Need Help??

in reply to Vetting a CGI script

I don't know anything about However, if I were to code this fascist-style, these thoughts would cross my mind:

  • Use the three-or-more-argument version of open. It's safer.
  • Turn $mailprog into a lexically scoped variable or constant (use constant ...). Messing with it is unlikely, but I'm following my fascist mindset.
  • Passing improperly untainted data to sendmail screams SPAM GATEWAY!

Comment on Re: Vetting a CGI script
Select or Download Code

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others imbibing at the Monastery: (6)
As of 2015-11-27 18:24 GMT
Find Nodes?
    Voting Booth?

    What would be the most significant thing to happen if a rope (or wire) tied the Earth and the Moon together?

    Results (731 votes), past polls