--- loncom/interface/loncommon.pm 2006/09/05 20:42:18 1.449 +++ loncom/interface/loncommon.pm 2006/09/12 22:13:05 1.453 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.449 2006/09/05 20:42:18 albertel Exp $ +# $Id: loncommon.pm,v 1.453 2006/09/12 22:13:05 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -257,7 +257,7 @@ of the element the selection from the se sub browser_and_searcher_javascript { my ($mode)=@_; if (!defined($mode)) { $mode='edit'; } - my $resurl=&lastresurl(); + my $resurl=&escape_single(&lastresurl()); return <{'bgcolor'} || &designparm($function.'.pgbg',$domain); my $url = join(':',$env{'user.name'},$env{'user.domain'}, #time(), + $Apache::lonnet::perlvar{'lonVersion'}, $env{'environment.color.timestamp'}, $function,$domain,$bgcolor);