[LON-CAPA-cvs] cvs: loncom /interface lonrss.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Thu, 11 May 2006 17:50:52 -0000
albertel Thu May 11 13:50:52 2006 EDT
Modified files:
/loncom/interface lonrss.pm
Log:
- convetring to use the new escape
Index: loncom/interface/lonrss.pm
diff -u loncom/interface/lonrss.pm:1.21 loncom/interface/lonrss.pm:1.22
--- loncom/interface/lonrss.pm:1.21 Thu May 11 13:38:44 2006
+++ loncom/interface/lonrss.pm Thu May 11 13:50:52 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network
# RSS Feeder
#
-# $Id: lonrss.pm,v 1.21 2006/05/11 17:38:44 www Exp $
+# $Id: lonrss.pm,v 1.22 2006/05/11 17:50:52 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -29,6 +29,7 @@
package Apache::lonrss;
use strict;
+use LONCAPA;
use Apache::Constants qw(:common);
use Apache::loncommon;
use Apache::lonnet;
@@ -197,13 +198,13 @@
sub add_blog_entry_link {
my ($id,$uname,$udom,$filename,$title,$description,$url,$status,$encurl,$enctype,$linktext)=@_;
return "<a href='/adm/$udom/$uname/".&filterfeedname($filename).'_rss.html?queryid='.
- &Apache::lonnet::escape($id).
- '&title='.&Apache::lonnet::escape($title).
- '&description='.&Apache::lonnet::escape($description).
- '&url='.&Apache::lonnet::escape($url).
- '&status='.&Apache::lonnet::escape($status).
- '&encurl='.&Apache::lonnet::escape($encurl).
- '&enctype='.&Apache::lonnet::escape($enctype).
+ &escape($id).
+ '&title='.&escape($title).
+ '&description='.&escape($description).
+ '&url='.&escape($url).
+ '&status='.&escape($status).
+ '&encurl='.&escape($encurl).
+ '&enctype='.&escape($enctype).
"'>".$linktext.'</a>';
}