[LON-CAPA-cvs] cvs: loncom /lonnet/perl lonnet.pm
www
lon-capa-cvs@mail.lon-capa.org
Wed, 09 Jun 2004 14:57:31 -0000
www Wed Jun 9 10:57:31 2004 EDT
Modified files:
/loncom/lonnet/perl lonnet.pm
Log:
Bug #3063: adm/wrapper is never part of a valid symb.
Forward and backward now again work across standalone images and /ext-resources.
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.506 loncom/lonnet/perl/lonnet.pm:1.507
--- loncom/lonnet/perl/lonnet.pm:1.506 Tue Jun 8 18:09:44 2004
+++ loncom/lonnet/perl/lonnet.pm Wed Jun 9 10:57:30 2004
@@ -1,7 +1,7 @@
# The LearningOnline Network
# TCP networking package
#
-# $Id: lonnet.pm,v 1.506 2004/06/08 22:09:44 raeburn Exp $
+# $Id: lonnet.pm,v 1.507 2004/06/09 14:57:30 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -4407,6 +4407,9 @@
# remove version from URL
$symb=~s/\.(\d+)\.(\w+)$/\.$2/;
+# remove wrapper
+
+ $symb=~s/(\_\_\_\d+\_\_\_)adm\/wrapper\//$1/;
return $symb;
}