[LON-CAPA-cvs] cvs: loncom(version_2_10_X) /auth switchserver.pm

raeburn raeburn at source.lon-capa.org
Tue Aug 2 10:20:42 EDT 2011


raeburn		Tue Aug  2 14:20:42 2011 EDT

  Modified files:              (Branch: version_2_10_X)
    /loncom/auth	switchserver.pm 
  Log:
  - Backport 1.31.
  
  
Index: loncom/auth/switchserver.pm
diff -u loncom/auth/switchserver.pm:1.28.2.3 loncom/auth/switchserver.pm:1.28.2.4
--- loncom/auth/switchserver.pm:1.28.2.3	Mon Sep  6 15:45:08 2010
+++ loncom/auth/switchserver.pm	Tue Aug  2 14:20:42 2011
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Switch Servers Handler
 #
-# $Id: switchserver.pm,v 1.28.2.3 2010/09/06 15:45:08 raeburn Exp $
+# $Id: switchserver.pm,v 1.28.2.4 2011/08/02 14:20:42 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -117,7 +117,7 @@
                 if (&Apache::lonnet::homeserver($env{'user.name'},$env{'user.domain'}) eq $env{'form.otherserver'}) {
                     $skip_canhost_check = 1;
                 }
-            } elsif ($env{'form.role'} =~ m{^[ac]a\./($match_domain)/($match_username)/$}) {
+            } elsif ($env{'form.role'} =~ m{^[ac]a\./($match_domain)/($match_username)$}) {
                 if (&Apache::lonnet::homeserver($2,$1) eq $env{'form.otherserver'}) {
                     $skip_canhost_check = 1; 
                 }




More information about the LON-CAPA-cvs mailing list