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

raeburn raeburn at source.lon-capa.org
Sat May 2 16:39:08 EDT 2020


raeburn		Sat May  2 20:39:08 2020 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/auth	lonacc.pm 
  Log:
  - For 2.11
    Backport 1.177
  
  
Index: loncom/auth/lonacc.pm
diff -u loncom/auth/lonacc.pm:1.159.2.9 loncom/auth/lonacc.pm:1.159.2.10
--- loncom/auth/lonacc.pm:1.159.2.9	Fri Mar  6 20:17:52 2020
+++ loncom/auth/lonacc.pm	Sat May  2 20:39:07 2020
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Cookie Based Access Handler
 #
-# $Id: lonacc.pm,v 1.159.2.9 2020/03/06 20:17:52 raeburn Exp $
+# $Id: lonacc.pm,v 1.159.2.10 2020/05/02 20:39:07 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -592,7 +592,7 @@
 
 # ---------------------------------------------------------------- Check access
 	my $now = time;
-	if ($requrl !~ m{^/(?:adm|public|prtspool)/}
+	if ($requrl !~ m{^/(?:adm|public|(?:prt|zip)spool)/}
 	    || $requrl =~ /^\/adm\/.*\/(smppg|bulletinboard)(\?|$ )/x) {
 	    my $access=&Apache::lonnet::allowed('bre',$requrl);
             if ($handle eq '') {




More information about the LON-CAPA-cvs mailing list