[LON-CAPA-cvs] cvs: loncom(version_2_1_X) /lonnet/perl lonnet.pm

albertel lon-capa-cvs@mail.lon-capa.org
Thu, 22 Dec 2005 20:57:50 -0000


albertel		Thu Dec 22 15:57:50 2005 EDT

  Modified files:              (Branch: version_2_1_X)
    /loncom/lonnet/perl	lonnet.pm 
  Log:
  - backport 1.687
  
  
Index: loncom/lonnet/perl/lonnet.pm
diff -u loncom/lonnet/perl/lonnet.pm:1.683.2.2 loncom/lonnet/perl/lonnet.pm:1.683.2.3
--- loncom/lonnet/perl/lonnet.pm:1.683.2.2	Fri Dec  9 18:20:26 2005
+++ loncom/lonnet/perl/lonnet.pm	Thu Dec 22 15:57:49 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # TCP networking package
 #
-# $Id: lonnet.pm,v 1.683.2.2 2005/12/09 23:20:26 albertel Exp $
+# $Id: lonnet.pm,v 1.683.2.3 2005/12/22 20:57:49 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -5409,6 +5409,9 @@
         if ( ($thisfn =~ m/^(uploaded|editupload)\//) && ($thisfn !~ m/\.(page|sequence)$/) ) {
             $targetfn = 'adm/wrapper/'.$thisfn;
         }
+	if ($targetfn =~ m|^adm/wrapper/(ext/.*)|) {
+	    $targetfn=$1;
+	}
         if (tie(%hash,'GDBM_File',$env{'request.course.fn'}.'_symb.db',
                       &GDBM_READER(),0640)) {
 	    $syval=$hash{$targetfn};