Beefy Boxes and Bandwidth Generously Provided by pair Networks
XP is just a number
 
PerlMonks  

Re: Statistical Graphs with gnuplot and mod_perl

by Abigail-II (Bishop)
on Sep 11, 2003 at 09:31 UTC ( [id://290628]=note: print w/replies, xml ) Need Help??


in reply to Statistical Graphs with gnuplot and mod_perl

open PLOT, "echo \'$plot\' | $gnuplot |" or return SERVER_ERROR;

Considering that $plot partially consists of unfiltered user input, this looks like a very, very bad idea to me. Not to mention that you do the same with open().

Abigail

Replies are listed 'Best First'.
Re: Re: Statistical Graphs with gnuplot and mod_perl
by projekt21 (Friar) on Sep 11, 2003 at 09:37 UTC

    Yes, you are totally right. I will add the necessary input checking.

    Thanks++ for reminding.

    As a partial defense: We run this in a private network, with high restrictions. So only our admin has access to that.

    alex pleiner <alex@zeitform.de>
    zeitform Internet Dienste

Log In?
Username:
Password:

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

How do I use this?Last hourOther CB clients
Other Users?
Others chilling in the Monastery: (4)
As of 2024-04-25 22:26 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found