[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /lonnet/perl lonnet.pm

raeburn raeburn at source.lon-capa.org
Mon Mar 11 09:24:10 EDT 2013


raeburn		Mon Mar 11 13:24:10 2013 EDT

  Modified files:              (Branch: version_2_11_X)
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - For 2.11
    - Backport 1.1217.
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.1172.2.19 loncom/lonnet/perl/lonnet.pm:1.1172.2.20
--- loncom/lonnet/perl/lonnet.pm:1.1172.2.19	Sat Mar  2 15:34:17 2013
+++ loncom/lonnet/perl/lonnet.pm	Mon Mar 11 13:24:09 2013
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.1172.2.19 2013/03/02 15:34:17 raeburn Exp $
+# $Id: lonnet.pm,v 1.1172.2.20 2013/03/11 13:24:09 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -9896,7 +9896,7 @@
     # if it is a non metadata possible uri return quickly
     if (($uri eq '') || 
 	(($uri =~ m|^/*adm/|) && 
-	     ($uri !~ m|^adm/includes|) && ($uri !~ m|/bulletinboard$|)) ||
+	     ($uri !~ m|^adm/includes|) && ($uri !~ m{/(smppg|bulletinboard)$})) ||
         ($uri =~ m|/$|) || ($uri =~ m|/.meta$|) || ($uri =~ m{^/*uploaded/.+\.sequence$})) {
 	return undef;
     }




More information about the LON-CAPA-cvs mailing list