[LON-CAPA-cvs] cvs: loncom(version_2_8_X) /auth lonacc.pm
raeburn
raeburn@source.lon-capa.org
Wed, 31 Dec 2008 20:22:47 -0000
raeburn Wed Dec 31 20:22:47 2008 EDT
Modified files: (Branch: version_2_8_X)
/loncom/auth lonacc.pm
Log:
- Backport 1.124.
Index: loncom/auth/lonacc.pm
diff -u loncom/auth/lonacc.pm:1.116.2.1 loncom/auth/lonacc.pm:1.116.2.2
--- loncom/auth/lonacc.pm:1.116.2.1 Wed Dec 10 16:42:51 2008
+++ loncom/auth/lonacc.pm Wed Dec 31 20:22:47 2008
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Cookie Based Access Handler
#
-# $Id: lonacc.pm,v 1.116.2.1 2008/12/10 16:42:51 raeburn Exp $
+# $Id: lonacc.pm,v 1.116.2.2 2008/12/31 20:22:47 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -275,7 +275,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);