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

albertel lon-capa-cvs@mail.lon-capa.org
Wed, 11 Jan 2006 20:57:20 -0000


albertel		Wed Jan 11 15:57:20 2006 EDT

  Modified files:              
    /loncom/auth	lonacc.pm 
  Log:
  - /adm/coursedocs/showdoc/ resources have fully valid sy,mbs now
  
  
Index: loncom/auth/lonacc.pm
diff -u loncom/auth/lonacc.pm:1.71 loncom/auth/lonacc.pm:1.72
--- loncom/auth/lonacc.pm:1.71	Wed Dec 14 11:50:59 2005
+++ loncom/auth/lonacc.pm	Wed Jan 11 15:57:19 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Cookie Based Access Handler
 #
-# $Id: lonacc.pm,v 1.71 2005/12/14 16:50:59 www Exp $
+# $Id: lonacc.pm,v 1.72 2006/01/11 20:57:19 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -128,6 +128,7 @@
             if ((&Apache::loncommon::fileembstyle($1) eq 'ssi') ||
  ($requrl=~/^\/adm\/.*\/(aboutme|navmaps|smppg|bulletinboard)(\?|$)/) ||
  ($requrl=~/^\/adm\/wrapper\//) ||
+ ($requrl=~m|^/adm/coursedocs/showdoc/|) ||
  ($requrl=~m|\.problem/smpedit$|) ||
  ($requrl=~/^\/public\/.*\/syllabus$/)) {
 # ------------------------------------- This is serious stuff, get symb and log
@@ -138,7 +139,8 @@
                 }
                 if ($env{'form.symb'}) {
 		    $symb=&Apache::lonnet::symbclean($env{'form.symb'});
-                    if ($requrl =~ m|^/adm/wrapper/|) {
+                    if ($requrl =~ m|^/adm/wrapper/|
+			|| $requrl =~ m|^/adm/coursedocs/showdoc/|) {
                         my ($map,$mid,$murl)=&Apache::lonnet::decode_symb($symb);
                         &Apache::lonnet::symblist($map,$murl => [$murl,$mid],
 						  'last_known' =>[$murl,$mid]);