--- loncom/interface/lonmenu.pm 2006/07/19 10:52:27 1.199 +++ loncom/interface/lonmenu.pm 2006/07/31 22:53:07 1.201 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Routines to control the menu # -# $Id: lonmenu.pm,v 1.199 2006/07/19 10:52:27 albertel Exp $ +# $Id: lonmenu.pm,v 1.201 2006/07/31 22:53:07 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -461,12 +461,13 @@ sub innerregister { $is_const_dir = 1; } else { $currdir =~ s#[^/]+$##; + my $cleandisfn = &Apache::loncommon::escape_single($thisdisfn); $menuitems=(<