[LON-CAPA-cvs] cvs: loncom /interface londocs.pm

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


albertel		Thu Dec 22 15:23:39 2005 EDT

  Modified files:              
    /loncom/interface	londocs.pm 
  Log:
  - colons no longer are escaped in the .sequence files
  
  
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.214 loncom/interface/londocs.pm:1.215
--- loncom/interface/londocs.pm:1.214	Thu Nov 24 11:01:04 2005
+++ loncom/interface/londocs.pm	Thu Dec 22 15:23:39 2005
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: londocs.pm,v 1.214 2005/11/24 16:01:04 www Exp $
+# $Id: londocs.pm,v 1.215 2005/12/22 20:23:39 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1555,7 +1555,7 @@
 	    &Apache::lonnet::allowuploaded('/adm/coursedoc',$url);
 	}
     }
-    $url=~s/^http\&colon\;\/\//\/adm\/wrapper\/ext\//;
+    $url=~s-^http(\&colon\;|:)//-/adm/wrapper/ext/-;
     if ((!$isfolder) && ($residx) && ($folder!~/supplemental/) && (!$ispage)) {
 	my $symb=&Apache::lonnet::symbclean(
           &Apache::lonnet::declutter('uploaded/'.