--- loncom/xml/lonxml.pm	2005/06/09 02:12:26	1.375
+++ loncom/xml/lonxml.pm	2005/06/17 17:51:15	1.377
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # XML Parser Module 
 #
-# $Id: lonxml.pm,v 1.375 2005/06/09 02:12:26 albertel Exp $
+# $Id: lonxml.pm,v 1.377 2005/06/17 17:51:15 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1065,7 +1065,7 @@ sub parstring {
 
 sub writeallows {
     unless ($#extlinks>=0) { return; }
-    my $thisurl='/res/'.&Apache::lonnet::declutter(shift);
+    my $thisurl = &Apache::lonnet::clutter(shift);
     if ($env{'httpref.'.$thisurl}) {
 	$thisurl=$env{'httpref.'.$thisurl};
     }