[LON-CAPA-cvs] cvs: rat(version_2_11_X) / lonwrapper.pm

raeburn raeburn at source.lon-capa.org
Wed Jul 3 22:30:39 EDT 2024


raeburn		Thu Jul  4 02:30:39 2024 EDT

  Modified files:              (Branch: version_2_11_X)
    /rat	lonwrapper.pm 
  Log:
  - For 2.11
    Backport 1.84 
  
  
Index: rat/lonwrapper.pm
diff -u rat/lonwrapper.pm:1.49.2.11 rat/lonwrapper.pm:1.49.2.12
--- rat/lonwrapper.pm:1.49.2.11	Wed Dec 15 00:41:48 2021
+++ rat/lonwrapper.pm	Thu Jul  4 02:30:39 2024
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Wrapper for external and binary files as standalone resources
 #
-# $Id: lonwrapper.pm,v 1.49.2.11 2021/12/15 00:41:48 raeburn Exp $
+# $Id: lonwrapper.pm,v 1.49.2.12 2024/07/04 02:30:39 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -73,7 +73,7 @@
         }
     }
 
-    my $noiframe = &Apache::loncommon::modal_link($url.$anchor,$lt{'show'},500,400);
+    my $noiframe = &Apache::loncommon::modal_link(&HTML::Entities::encode($url.$anchor,'&<>"\''),$lt{'show'},500,400);
     my $args = {'bgcolor' => '#FFFFFF'};
     if ($forcereg) {
         $args->{'force_register'} = $forcereg;




More information about the LON-CAPA-cvs mailing list