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

raeburn raeburn@source.lon-capa.org
Fri, 01 Oct 2010 16:37:36 -0000


raeburn		Fri Oct  1 16:37:36 2010 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - sequence files corresponding to folders added using Course Editor do not have 
    associated metadata files.
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.1088 loncom/lonnet/perl/lonnet.pm:1.1089
--- loncom/lonnet/perl/lonnet.pm:1.1088	Thu Sep 30 16:42:33 2010
+++ loncom/lonnet/perl/lonnet.pm	Fri Oct  1 16:37:35 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.1088 2010/09/30 16:42:33 raeburn Exp $
+# $Id: lonnet.pm,v 1.1089 2010/10/01 16:37:35 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -8409,7 +8409,7 @@
     if (($uri eq '') || 
 	(($uri =~ m|^/*adm/|) && 
 	     ($uri !~ m|^adm/includes|) && ($uri !~ m|/bulletinboard$|)) ||
-        ($uri =~ m|/$|) || ($uri =~ m|/.meta$|) ) {
+        ($uri =~ m|/$|) || ($uri =~ m|/.meta$|) || ($uri =~ /^\*uploaded\/.+\.sequence$/) ) {
 	return undef;
     }
     if (($uri =~ /^~/ || $uri =~ m{home/$match_username/public_html/})