[LON-CAPA-cvs] cvs: rat / lonpage.pm

www lon-capa-cvs@mail.lon-capa.org
Tue, 26 Mar 2002 23:12:57 -0000


www		Tue Mar 26 18:12:57 2002 EDT

  Modified files:              
    /rat	lonpage.pm 
  Log:
  Escape the URL for feedback
  
  
Index: rat/lonpage.pm
diff -u rat/lonpage.pm:1.34 rat/lonpage.pm:1.35
--- rat/lonpage.pm:1.34	Tue Mar 26 11:14:51 2002
+++ rat/lonpage.pm	Tue Mar 26 18:12:57 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Page Handler
 #
-# $Id: lonpage.pm,v 1.34 2002/03/26 16:14:51 www Exp $
+# $Id: lonpage.pm,v 1.35 2002/03/26 23:12:57 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -376,7 +376,8 @@
                                     $metalink{$rid}.'" target="LONcatInfo">'.
                           '<img src="/adm/lonMisc/cat_button.gif" border=0>'.
 			  '</img></a><a href="/adm/evaluate?postdata='.
-      &Apache::lonnet::declutter($hash{'src_'.$rid}).'" target="LONcatInfo">'.
+      &Apache::lonnet::escape(&Apache::lonnet::declutter($hash{'src_'.$rid}))
+      .'" target="LONcatInfo">'.
                           '<img src="/adm/lonMisc/eval_button.gif" border=0>'.
                           '</img></a>';
                               if (