--- loncom/interface/loncommon.pm 2006/09/06 19:08:33 1.450 +++ 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.450 2006/09/06 19:08:33 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 <