[LON-CAPA-cvs] cvs: rat / lonwrapper.pm

albertel lon-capa-cvs@mail.lon-capa.org
Sat, 18 Sep 2004 16:32:17 -0000


albertel		Sat Sep 18 12:32:17 2004 EDT

  Modified files:              
    /rat	lonwrapper.pm 
  Log:
   - BUG#3486, : not being unescaped for wrapped docs
  
  
Index: rat/lonwrapper.pm
diff -u rat/lonwrapper.pm:1.15 rat/lonwrapper.pm:1.16
--- rat/lonwrapper.pm:1.15	Thu Apr  1 13:14:24 2004
+++ rat/lonwrapper.pm	Sat Sep 18 12:32:17 2004
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Wrapper for external and binary files as standalone resources
 #
-# $Id: lonwrapper.pm,v 1.15 2004/04/01 18:14:24 raeburn Exp $
+# $Id: lonwrapper.pm,v 1.16 2004/09/18 16:32:17 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -58,6 +58,7 @@
   $orgurl.=(($orgurl=~/\?/)?'&':'?').'wrapperdisplay=menu';
   $url=~s/^\/adm\/wrapper//;
   $url=~s/^\/ext\//http\:\/\//;
+  $url=~s|:|:|g;
   if ($ENV{'form.wrapperdisplay'} eq 'menu') {
 #
 # Producing the menu buttons