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

www lon-capa-cvs@mail.lon-capa.org
Thu, 20 Jul 2006 15:25:13 -0000


www		Thu Jul 20 11:25:13 2006 EDT

  Modified files:              
    /loncom/interface	londocs.pm 
  Log:
  Escaping is actually done with : (leftover from good-old graphic RAT
  days)
  
  
Index: loncom/interface/londocs.pm
diff -u loncom/interface/londocs.pm:1.239 loncom/interface/londocs.pm:1.240
--- loncom/interface/londocs.pm:1.239	Wed Jul 19 21:46:14 2006
+++ loncom/interface/londocs.pm	Thu Jul 20 11:25:09 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Documents
 #
-# $Id: londocs.pm,v 1.239 2006/07/20 01:46:14 www Exp $
+# $Id: londocs.pm,v 1.240 2006/07/20 15:25:09 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1164,7 +1164,10 @@
 				            $comment.':'.join(':',@rrest);
 		    }
 # Devalidate title cache
-		    &Apache::lonnet::devalidate_title_cache(&unescape($rrest[0]));
+                    my $renamed_url=$rrest[0];
+# Has the :-escaping
+                    $renamed_url=~s/\&colon\;/\:/g;
+		    &Apache::lonnet::devalidate_title_cache($renamed_url);
                 }
 # Store the changed version
 		($errtext,$fatal)=&storemap($coursenum,$coursedom,