mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
Encode traceroute error message. Issue #9294
(cherry picked from commit 57ccd08bf7)
This commit is contained in:
parent
587c2d5576
commit
f39d333279
@ -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)));
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Loading…
Reference in New Issue
Block a user