[LON-CAPA-cvs] cvs: loncom /lti ltiauth.pm

raeburn raeburn at source.lon-capa.org
Fri Aug 6 21:34:20 EDT 2021


raeburn		Sat Aug  7 01:34:20 2021 EDT

  Modified files:              
    /loncom/lti	ltiauth.pm 
  Log:
  - scope for $urlcdom in &course_from_tinyurl() routine added in rev. 1.20
  
  
Index: loncom/lti/ltiauth.pm
diff -u loncom/lti/ltiauth.pm:1.20 loncom/lti/ltiauth.pm:1.21
--- loncom/lti/ltiauth.pm:1.20	Wed Aug  4 19:59:11 2021
+++ loncom/lti/ltiauth.pm	Sat Aug  7 01:34:20 2021
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Basic LTI Authentication Module
 #
-# $Id: ltiauth.pm,v 1.20 2021/08/04 19:59:11 raeburn Exp $
+# $Id: ltiauth.pm,v 1.21 2021/08/07 01:34:20 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1036,7 +1036,7 @@
     my ($tail) = @_;
     my ($urlcdom,$urlcnum);
     if ($tail =~ m{^/tiny/($match_domain)/(\w+)$}) {
-        my ($urlcdom,$key) = ($1,$2);
+        ($urlcdom,my $key) = ($1,$2);
         my $tinyurl;
         my ($result,$cached)=&Apache::lonnet::is_cached_new('tiny',$urlcdom."\0".$key);
         if (defined($cached)) {




More information about the LON-CAPA-cvs mailing list