Beefy Boxes and Bandwidth Generously Provided by pair Networks
Clear questions and runnable code
get the best and fastest answer
 
PerlMonks  

Re: Statistical Graphs with gnuplot and mod_perl

by Abigail-II (Bishop)
on Sep 11, 2003 at 09:31 UTC ( #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
Node Status?
node history
Node Type: note [id://290628]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others studying the Monastery: (3)
As of 2021-06-15 17:39 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?
    What does the "s" stand for in "perls"? (Whence perls)












    Results (73 votes). Check out past polls.

    Notices?