Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?

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().


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 <>
    zeitform Internet Dienste

Log In?

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

How do I use this? | Other CB clients
Other Users?
Others surveying the Monastery: (5)
As of 2022-12-09 23:54 GMT
Find Nodes?
    Voting Booth?

    No recent polls found