[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface londocs.pm

raeburn raeburn at source.lon-capa.org
Fri Nov 10 10:52:29 EST 2017


raeburn		Fri Nov 10 15:52:29 2017 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/interface	londocs.pm 
  Log:
  - For 2.11
    - Backport 1.641 (part).
  
  
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.484.2.74 loncom/interface/londocs.pm:1.484.2.75
--- loncom/interface/londocs.pm:1.484.2.74	Thu Aug 31 20:28:55 2017
+++ loncom/interface/londocs.pm	Fri Nov 10 15:52:26 2017
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: londocs.pm,v 1.484.2.74 2017/08/31 20:28:55 raeburn Exp $
+# $Id: londocs.pm,v 1.484.2.75 2017/11/10 15:52:26 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3746,7 +3746,7 @@
                     }
                 }
                 if ($url ne '') {
-                    $url.=(($url=~/\?/)?'&':'?').'symb='.&HTML::Entities::encode($shownsymb,'"<>&');
+                    $url.=(($url=~/\?/)?'&':'?').'symb='.&escape($shownsymb);
                 }
             } elsif (!$env{'request.role.adv'}) {
                 my $checkencrypt;




More information about the LON-CAPA-cvs mailing list