diff --git a/cluster-software/install_pack.cgi b/cluster-software/install_pack.cgi index cba1de9e0..78dcd4218 100755 --- a/cluster-software/install_pack.cgi +++ b/cluster-software/install_pack.cgi @@ -22,10 +22,12 @@ else { if ($in{source} == 0) { # installing from local file (or maybe directory) - if (!$in{'local'}) - { &install_error($text{'install_elocal'}); } - if (!-r $in{'local'}) - { &install_error(&text('install_elocal2', $in{'local'})); } + if (!$in{'local'}) { + &install_error($text{'install_elocal'}); + } + if (!-r $in{'local'}) { + &install_error(&text('install_elocal2', &html_escape($in{'local'}))); + } $source = $in{'local'}; $pfile = $in{'local'}; $filename = $in{'local'};