[LON-CAPA-cvs] cvs: loncom /interface/statistics lonproblemstatistics.pm
matthew
lon-capa-cvs@mail.lon-capa.org
Wed, 03 Sep 2003 16:07:06 -0000
matthew Wed Sep 3 12:07:06 2003 EDT
Modified files:
/loncom/interface/statistics lonproblemstatistics.pm
Log:
Fix bug 2126.
Index: loncom/interface/statistics/lonproblemstatistics.pm
diff -u loncom/interface/statistics/lonproblemstatistics.pm:1.57 loncom/interface/statistics/lonproblemstatistics.pm:1.58
--- loncom/interface/statistics/lonproblemstatistics.pm:1.57 Fri Aug 29 17:11:25 2003
+++ loncom/interface/statistics/lonproblemstatistics.pm Wed Sep 3 12:07:06 2003
@@ -1,6 +1,6 @@
# The LearningOnline Network with CAPA
#
-# $Id: lonproblemstatistics.pm,v 1.57 2003/08/29 21:11:25 matthew Exp $
+# $Id: lonproblemstatistics.pm,v 1.58 2003/09/03 16:07:06 matthew Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -763,6 +763,9 @@
$title = '' if (! defined($title));
$xaxis = '' if (! defined($xaxis));
$yaxis = '' if (! defined($yaxis));
+ $title = &Apache::lonnet::escape($title);
+ $xaxis = &Apache::lonnet::escape($xaxis);
+ $yaxis = &Apache::lonnet::escape($yaxis);
#
my $sendValues = join(',', @$values);
my $sendCount = scalar(@$values);