[LON-CAPA-cvs] cvs: loncom /interface lonwhatsnew.pm

droeschl droeschl at source.lon-capa.org
Thu Oct 4 07:31:59 EDT 2012


droeschl		Thu Oct  4 11:31:59 2012 EDT

  Modified files:              
    /loncom/interface	lonwhatsnew.pm 
  Log:
  Escape symb in links to new discussions on what's new page.
  
  
Index: loncom/interface/lonwhatsnew.pm
diff -u loncom/interface/lonwhatsnew.pm:1.107 loncom/interface/lonwhatsnew.pm:1.108
--- loncom/interface/lonwhatsnew.pm:1.107	Thu Oct  4 05:59:22 2012
+++ loncom/interface/lonwhatsnew.pm	Thu Oct  4 11:31:58 2012
@@ -1,5 +1,5 @@
 #
-# $Id: lonwhatsnew.pm,v 1.107 2012/10/04 05:59:22 raeburn Exp $
+# $Id: lonwhatsnew.pm,v 1.108 2012/10/04 11:31:58 droeschl Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1921,7 +1921,7 @@
             my $forum_title = $$unread{$ressymb}{'title'};
             my $type = 'Resource';
             my $feedurl=&Apache::lonfeedback::get_feedurl($ressymb);
-            my $disclink = $feedurl.'?symb='.$$unread{$ressymb}{symb};
+            my $disclink = $feedurl.'?symb='. &escape($$unread{$ressymb}{symb});
             if ($feedurl =~ /bulletinboard/) {
                 $type = 'Discussion Board';
             }




More information about the LON-CAPA-cvs mailing list