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

raeburn raeburn@source.lon-capa.org
Wed, 31 Dec 2008 20:22:12 -0000


raeburn		Wed Dec 31 20:22:12 2008 EDT

  Modified files:              
    /loncom/auth	lonacc.pm 
  Log:
  - Skip cookie check for icons etc. in /res/adm/pages
  
  
Index: loncom/auth/lonacc.pm
diff -u loncom/auth/lonacc.pm:1.123 loncom/auth/lonacc.pm:1.124
--- loncom/auth/lonacc.pm:1.123	Wed Dec 10 16:28:03 2008
+++ loncom/auth/lonacc.pm	Wed Dec 31 20:22:12 2008
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Cookie Based Access Handler
 #
-# $Id: lonacc.pm,v 1.123 2008/12/10 16:28:03 raeburn Exp $
+# $Id: lonacc.pm,v 1.124 2008/12/31 20:22:12 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -352,6 +352,10 @@
         return OK;
     }
 
+    if ($requrl =~ m{^/res/adm/pages/[^/]+\.(gif|png)$}) {
+        return OK;
+    }
+
     my $handle = &Apache::lonnet::check_for_valid_session($r);
 
     my $result = &sso_login($r,$handle);