[LON-CAPA-cvs] cvs: loncom(version_2_10_X) /lonnet/perl lonnet.pm
raeburn
raeburn@source.lon-capa.org
Sat, 08 Jan 2011 06:28:27 -0000
raeburn Sat Jan 8 06:28:27 2011 EDT
Modified files: (Branch: version_2_10_X)
/loncom/lonnet/perl lonnet.pm
Log:
- Backport 1.1097.
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.1056.4.17 loncom/lonnet/perl/lonnet.pm:1.1056.4.18
--- loncom/lonnet/perl/lonnet.pm:1.1056.4.17 Fri Jan 7 06:24:41 2011
+++ loncom/lonnet/perl/lonnet.pm Sat Jan 8 06:28:26 2011
@@ -1,7 +1,7 @@
# The LearningOnline Network
# TCP networking package
#
-# $Id: lonnet.pm,v 1.1056.4.17 2011/01/07 06:24:41 raeburn Exp $
+# $Id: lonnet.pm,v 1.1056.4.18 2011/01/08 06:28:26 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -8578,7 +8578,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\/.+\.sequence$/) || ($uri =~ m{^/*uploaded/$match_domain/$match_courseid/docs/})) {
return undef;
}
if (($uri =~ /^~/ || $uri =~ m{home/$match_username/public_html/})