[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /lonnet/perl lonnet.pm
raeburn
raeburn at source.lon-capa.org
Sun Sep 2 12:23:03 EDT 2012
raeburn Sun Sep 2 16:23:03 2012 EDT
Modified files: (Branch: version_2_11_X)
/loncom/lonnet/perl lonnet.pm
Log:
- For 2.11
- backport 1.1189.
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.1172.2.9 loncom/lonnet/perl/lonnet.pm:1.1172.2.10
--- loncom/lonnet/perl/lonnet.pm:1.1172.2.9 Mon Aug 27 15:03:52 2012
+++ loncom/lonnet/perl/lonnet.pm Sun Sep 2 16:23:02 2012
@@ -1,7 +1,7 @@
# The LearningOnline Network
# TCP networking package
#
-# $Id: lonnet.pm,v 1.1172.2.9 2012/08/27 15:03:52 raeburn Exp $
+# $Id: lonnet.pm,v 1.1172.2.10 2012/09/02 16:23:02 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -2401,7 +2401,7 @@
sub getversion {
my $fname=&clutter(shift);
- unless ($fname=~/^\/res\//) { return -1; }
+ unless ($fname=~m{^(/adm/wrapper|)/res/}) { return -1; }
return ¤tversion(&filelocation('',$fname));
}
More information about the LON-CAPA-cvs
mailing list