[LON-CAPA-cvs] cvs: loncom(version_2_3_X) /lonnet/perl lonnet.pm

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 03 Jan 2007 04:16:00 -0000


albertel		Tue Jan  2 23:16:00 2007 EDT

  Modified files:              (Branch: version_2_3_X)
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - backport 1.819
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.816 loncom/lonnet/perl/lonnet.pm:1.816.2.1
--- loncom/lonnet/perl/lonnet.pm:1.816	Thu Dec 28 14:59:48 2006
+++ loncom/lonnet/perl/lonnet.pm	Tue Jan  2 23:15:59 2007
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.816 2006/12/28 19:59:48 raeburn Exp $
+# $Id: lonnet.pm,v 1.816.2.1 2007/01/03 04:15:59 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -3558,7 +3558,7 @@
 sub customaccess {
     my ($priv,$uri)=@_;
     my ($urole,$urealm)=split(/\./,$env{'request.role'},2);
-    my ($udom,$ucrs,$usec)=split(/\//,$urealm);
+    my (undef,$udom,$ucrs,$usec)=split(/\//,$urealm);
     $udom = &LONCAPA::clean_domain($udom);
     $ucrs = &LONCAPA::clean_username($ucrs);
     my $access=0;