[LON-CAPA-cvs] cvs: loncom /auth lonlogin.pm

raeburn raeburn at source.lon-capa.org
Tue Nov 21 14:52:18 EST 2023


raeburn		Tue Nov 21 19:52:18 2023 EDT

  Modified files:              
    /loncom/auth	lonlogin.pm 
  Log:
  - Avoid endless redirects to current host when login page redirects are in 
    effect and original URL request was for /enc/ for an expired session.
  
  
Index: loncom/auth/lonlogin.pm
diff -u loncom/auth/lonlogin.pm:1.206 loncom/auth/lonlogin.pm:1.207
--- loncom/auth/lonlogin.pm:1.206	Fri Jun  2 01:20:26 2023
+++ loncom/auth/lonlogin.pm	Tue Nov 21 19:52:18 2023
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Login Screen
 #
-# $Id: lonlogin.pm,v 1.206 2023/06/02 01:20:26 raeburn Exp $
+# $Id: lonlogin.pm,v 1.207 2023/11/21 19:52:18 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1311,7 +1311,7 @@
         }
         $url .= $querystring;
     }
-    $args->{'redirect'} = [0,$url];
+    $args->{'redirect'} = [0,$url,'','',1];
     my $start_page = &Apache::loncommon::start_page('Switching Server ...',undef,$args);
     my $end_page   = &Apache::loncommon::end_page();
     return $start_page.$end_page;




More information about the LON-CAPA-cvs mailing list