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

raeburn raeburn@source.lon-capa.org
Mon, 01 Nov 2010 20:04:39 -0000


raeburn		Mon Nov  1 20:04:39 2010 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - Bug 5026.
    - More aggressive log spam suppression than in rev 1.1089.
    - No associated metadata files for uploaded files, in general. 
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.1090 loncom/lonnet/perl/lonnet.pm:1.1091
--- loncom/lonnet/perl/lonnet.pm:1.1090	Wed Oct 27 01:00:44 2010
+++ loncom/lonnet/perl/lonnet.pm	Mon Nov  1 20:04:38 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.1090 2010/10/27 01:00:44 raeburn Exp $
+# $Id: lonnet.pm,v 1.1091 2010/11/01 20:04:38 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -8455,7 +8455,7 @@
     if (($uri eq '') || 
 	(($uri =~ m|^/*adm/|) && 
 	     ($uri !~ m|^adm/includes|) && ($uri !~ m|/bulletinboard$|)) ||
-        ($uri =~ m|/$|) || ($uri =~ m|/.meta$|) || ($uri =~ /^\*uploaded\/.+\.sequence$/) ) {
+        ($uri =~ m|/$|) || ($uri =~ m|/.meta$|) || ($uri =~ /^\*uploaded\//) ) {
 	return undef;
     }
     if (($uri =~ /^~/ || $uri =~ m{home/$match_username/public_html/})