text => 'Home'}};
foreach my $comp (@pcomp) {
- $href .= "/$comp";
+ $href .= "/".encode_entities($comp);
push @$items, { tag => 'li', cn => {
tag => 'a',
href => $href,
push @$items, {
tag => 'a',
class => 'list-group-item',
- href => "$path/$value",
+ href => "$path/".encode_entities($value),
cn => [
{
tag => 'h4',