[LON-CAPA-cvs] cvs: loncom(version_1_0_3) /interface/statistics lonproblemstatistics.pm

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 28 Oct 2003 20:08:23 -0000


albertel		Tue Oct 28 15:08:23 2003 EDT

  Modified files:              (Branch: version_1_0_3)
    /loncom/interface/statistics	lonproblemstatistics.pm 
  Log:
  - backport 1.58
  
  
Index: loncom/interface/statistics/lonproblemstatistics.pm
diff -u loncom/interface/statistics/lonproblemstatistics.pm:1.55 loncom/interface/statistics/lonproblemstatistics.pm:1.55.2.1
--- loncom/interface/statistics/lonproblemstatistics.pm:1.55	Mon Jul 28 11:30:46 2003
+++ loncom/interface/statistics/lonproblemstatistics.pm	Tue Oct 28 15:08:23 2003
@@ -1,6 +1,6 @@
 # The LearningOnline Network with CAPA
 #
-# $Id: lonproblemstatistics.pm,v 1.55 2003/07/28 15:30:46 matthew Exp $
+# $Id: lonproblemstatistics.pm,v 1.55.2.1 2003/10/28 20:08:23 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -869,6 +869,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);