[LON-CAPA-cvs] cvs: loncom /auth lonacc.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Fri, 22 Apr 2005 20:55:40 -0000
albertel Fri Apr 22 16:55:40 2005 EDT
Modified files:
/loncom/auth lonacc.pm
Log:
- should use decode_symb instead
Index: loncom/auth/lonacc.pm
diff -u loncom/auth/lonacc.pm:1.64 loncom/auth/lonacc.pm:1.65
--- loncom/auth/lonacc.pm:1.64 Thu Apr 7 02:56:20 2005
+++ loncom/auth/lonacc.pm Fri Apr 22 16:55:40 2005
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Cookie Based Access Handler
#
-# $Id: lonacc.pm,v 1.64 2005/04/07 06:56:20 albertel Exp $
+# $Id: lonacc.pm,v 1.65 2005/04/22 20:55:40 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -25,16 +25,6 @@
#
# http://www.lon-capa.org/
#
-# YEAR=1999
-# 5/21/99,5/22,5/29,5/31,6/15,16/11,22/11,
-# YEAR=2000
-# 01/06,01/13,05/31,06/01,09/06,09/25,09/28,10/30,11/6,
-# 12/25,12/26,
-# YEAR=2001
-# 01/06/01,05/28,8/11,9/26,11/29 Gerd Kortemeyer
-# YEAR=2002
-# 1/4,2/25 Gerd Kortemeyer
-#
###
package Apache::lonacc;
@@ -146,7 +136,8 @@
return HTTP_NOT_ACCEPTABLE;
}
if ($symb) {
- my ($map,$mid,$murl)=split(/\_\_\_/,$symb);
+ my ($map,$mid,$murl)=
+ &Apache::lonnet::decode_symb($symb);
&Apache::lonnet::symblist($map,$murl =>[$murl,$mid],
'last_known' =>[$murl,$mid]);
}