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

raeburn raeburn@source.lon-capa.org
Mon, 01 Nov 2010 21:19:51 -0000


raeburn		Mon Nov  1 21:19:51 2010 EDT

  Modified files:              
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - Reverse rev 1.1091.
    - portfolio files (uri begins "/uploaded") can have metadata.
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.1091 loncom/lonnet/perl/lonnet.pm:1.1092
--- loncom/lonnet/perl/lonnet.pm:1.1091	Mon Nov  1 20:04:38 2010
+++ loncom/lonnet/perl/lonnet.pm	Mon Nov  1 21:19:50 2010
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.1091 2010/11/01 20:04:38 raeburn Exp $
+# $Id: lonnet.pm,v 1.1092 2010/11/01 21:19:50 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\//) ) {
+        ($uri =~ m|/$|) || ($uri =~ m|/.meta$|) || ($uri =~ /^\*uploaded\/.+\.sequence$/) ) {
 	return undef;
     }
     if (($uri =~ /^~/ || $uri =~ m{home/$match_username/public_html/})