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

albertel lon-capa-cvs@mail.lon-capa.org
Fri, 21 Nov 2003 21:27:25 -0000


albertel		Fri Nov 21 16:27:25 2003 EDT

  Modified files:              
    /loncom/auth	lonacc.pm 
  Log:
  - decode_symb()
  
  
Index: loncom/auth/lonacc.pm
diff -u loncom/auth/lonacc.pm:1.49 loncom/auth/lonacc.pm:1.50
--- loncom/auth/lonacc.pm:1.49	Sat Nov  1 11:37:21 2003
+++ loncom/auth/lonacc.pm	Fri Nov 21 16:27:25 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Cookie Based Access Handler
 #
-# $Id: lonacc.pm,v 1.49 2003/11/01 16:37:21 www Exp $
+# $Id: lonacc.pm,v 1.50 2003/11/21 21:27:25 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -119,7 +119,7 @@
                 if ($ENV{'form.symb'}) {
 		    $symb=&Apache::lonnet::symbclean($ENV{'form.symb'});
                     if (&Apache::lonnet::symbverify($symb,$requrl)) {
-                      my ($map,$mid,$murl)=split(/\_\_\_/,$symb);
+                      my ($map,$mid,$murl)=&Apache::lonnet::decode_symb($symb);
                       &Apache::lonnet::symblist($map,$murl => $mid,
                                                'last_known' => $murl);
 		    } else {