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

albertel lon-capa-cvs@mail.lon-capa.org
Tue, 28 Dec 2004 20:18:38 -0000


albertel		Tue Dec 28 15:18:38 2004 EDT

  Modified files:              
    /loncom/auth	lonacc.pm 
  Log:
  - only things on a mpa shoul dhave a symb check done BUG#3766
  
  
Index: loncom/auth/lonacc.pm
diff -u loncom/auth/lonacc.pm:1.56 loncom/auth/lonacc.pm:1.57
--- loncom/auth/lonacc.pm:1.56	Thu Dec 23 14:40:12 2004
+++ loncom/auth/lonacc.pm	Tue Dec 28 15:18:38 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Cookie Based Access Handler
 #
-# $Id: lonacc.pm,v 1.56 2004/12/23 19:40:12 albertel Exp $
+# $Id: lonacc.pm,v 1.57 2004/12/28 20:18:38 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -138,7 +138,7 @@
                     }
                 } else {
 	            $symb=&Apache::lonnet::symbread($requrl);
-		    if ($requrl !~ m|^/res/adm/| &&
+		    if (&Apache::lonnet::is_on_map($requrl) &&
 			!&Apache::lonnet::symbverify($symb,$requrl)) {
 			$r->log_reason('Invalid symb for '.$requrl.': '.
                                        $symb);