Beefy Boxes and Bandwidth Generously Provided by pair Networks
There's more than one way to do things

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!

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 having an uproarious good time at the Monastery: (3)
As of 2016-10-22 05:54 GMT
Find Nodes?
    Voting Booth?
    How many different varieties (color, size, etc) of socks do you have in your sock drawer?

    Results (292 votes). Check out past polls.