Encode traceroute error message. Issue #9294

(cherry picked from commit 57ccd08bf7)
This commit is contained in:
jim-p 2019-01-29 11:15:03 -05:00
parent 587c2d5576
commit f39d333279

View File

@ -112,7 +112,7 @@ if ($do_traceroute) {
$result = shell_exec($cmd);
if (!$result) {
print_info_box(sprintf(gettext('Error: %s could not be traced/resolved'), $host));
print_info_box(sprintf(gettext('Error: %s could not be traced/resolved'), htmlspecialchars($host)));
}
}