--- loncom/xml/lonplot.pm 2002/02/28 21:04:10 1.53 +++ loncom/xml/lonplot.pm 2002/03/01 14:03:50 1.54 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Dynamic plot # -# $Id: lonplot.pm,v 1.53 2002/02/28 21:04:10 matthew Exp $ +# $Id: lonplot.pm,v 1.54 2002/03/01 14:03:50 matthew Exp $ # # Copyright Michigan State University Board of Trustees # @@ -450,6 +450,7 @@ sub end_gnuplot { '_'.time.'_'.$$.int(rand(1000)).'_plot.data'; ## Write the plot description to the file &write_gnuplot_file($tmpdir,$filename,$target); + $filename = &Apache::lonnet::escape($filename); ## return image tag for the plot if ($target eq 'web') { $result .= <<"ENDIMAGE";