[LON-CAPA-cvs] cvs: loncom(version_2_5_X) /lonnet/perl lonnet.pm
albertel
lon-capa-cvs-allow@mail.lon-capa.org
Tue, 25 Sep 2007 00:26:23 -0000
albertel Mon Sep 24 20:26:23 2007 EDT
Modified files: (Branch: version_2_5_X)
/loncom/lonnet/perl lonnet.pm
Log:
- backport 1.913
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.910 loncom/lonnet/perl/lonnet.pm:1.910.2.1
--- loncom/lonnet/perl/lonnet.pm:1.910 Wed Sep 5 13:37:51 2007
+++ loncom/lonnet/perl/lonnet.pm Mon Sep 24 20:26:20 2007
@@ -1,7 +1,7 @@
# The LearningOnline Network
# TCP networking package
#
-# $Id: lonnet.pm,v 1.910 2007/09/05 17:37:51 albertel Exp $
+# $Id: lonnet.pm,v 1.910.2.1 2007/09/25 00:26:20 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -7735,6 +7735,9 @@
$file=~s-^/home/httpd/lonUsers/($match_domain)/./././($match_name)/userfiles/
-/uploaded/$1/$2/-x;
}
+ if ($file=~ m{^/userfiles/}) {
+ $file =~ s{^/userfiles/}{/uploaded/};
+ }
return $file;
}