[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm
albertel
lon-capa-cvs-allow@mail.lon-capa.org
Mon, 11 Jun 2007 19:31:42 -0000
albertel Mon Jun 11 15:31:42 2007 EDT
Modified files:
/loncom/lonnet/perl lonnet.pm
Log:
- bug#5291, incorrectly recluttering with /res things that shouldn't get it
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.886 loncom/lonnet/perl/lonnet.pm:1.887
--- loncom/lonnet/perl/lonnet.pm:1.886 Mon Jun 11 13:13:34 2007
+++ loncom/lonnet/perl/lonnet.pm Mon Jun 11 15:31:41 2007
@@ -1,7 +1,7 @@
# The LearningOnline Network
# TCP networking package
#
-# $Id: lonnet.pm,v 1.886 2007/06/11 17:13:34 albertel Exp $
+# $Id: lonnet.pm,v 1.887 2007/06/11 19:31:41 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -7651,7 +7651,7 @@
sub clutter {
my $thisfn='/'.&declutter(shift);
- if ($thisfn !~ m{^/(uploaded|editupload|userfiles|ext|raw|priv|public)/}
+ if ($thisfn !~ m{^/(uploaded|editupload|adm|userfiles|ext|raw|priv|public)/}
|| $thisfn =~ m{^/adm/(includes|pages)} ) {
$thisfn='/res'.$thisfn;
}