--- loncom/interface/lonhtmlcommon.pm 2007/01/05 17:55:41 1.156
+++ loncom/interface/lonhtmlcommon.pm 2007/03/12 18:09:36 1.157
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common html routines
#
-# $Id: lonhtmlcommon.pm,v 1.156 2007/01/05 17:55:41 albertel Exp $
+# $Id: lonhtmlcommon.pm,v 1.157 2007/03/12 18:09:36 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1002,13 +1002,14 @@ sub crumbs {
}
} else {
$path.='/';
- }
+ }
my $linkpath = &Apache::loncommon::escape_single($path);
if ($form) {
$linkpath=
qq{javascript:$form.action='$linkpath';$form.submit();};
}
- $output.=qq{$dir/};
+ my $href_path = &HTML::Entities::encode($path,'<>&"');
+ $output.=qq{$dir/};
}
} else {
foreach my $dir (split('/',$uri)) {