--- loncom/xml/scripttag.pm 2000/08/11 15:22:00 1.11 +++ loncom/xml/scripttag.pm 2000/08/11 15:27:58 1.12 @@ -93,7 +93,7 @@ sub getfile { my ($filename) = @_; my $a=""; - $filename=~ s/\s+//g; + $filename=~ s/^\s*(\S+)\s*$/$1/; ## strip off leading and trailing spaces $filename="/home/httpd/html/res".$filename; if (! -e $filename ) { &Apache::lonnet::subscribe($filename);