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

raeburn raeburn at source.lon-capa.org
Wed Dec 23 19:37:30 EST 2020


raeburn		Thu Dec 24 00:37:30 2020 EDT

  Modified files:              
    /loncom/interface	lonparmset.pm 
  Log:
  - Double escape LTI Provider name in case it contains :&, 
  
  
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.597 loncom/interface/lonparmset.pm:1.598
--- loncom/interface/lonparmset.pm:1.597	Thu Oct 29 23:24:13 2020
+++ loncom/interface/lonparmset.pm	Thu Dec 24 00:37:30 2020
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set parameters for assessments
 #
-# $Id: lonparmset.pm,v 1.597 2020/10/29 23:24:13 raeburn Exp $
+# $Id: lonparmset.pm,v 1.598 2020/12/24 00:37:30 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1718,7 +1718,7 @@
         if (keys(%posslti)) {
             $extra = 'lti_';
             foreach my $lti (sort { $a <=> $b } keys(%posslti)) {
-                $extra .= $lti.':'.&escape($posslti{$lti}).',';
+                $extra .= $lti.':'.&escape(&escape($posslti{$lti})).',';
             }
             $extra =~ s/,$//;
         }




More information about the LON-CAPA-cvs mailing list