diff options
author | jim-p <jimp@netgate.com> | 2019-01-29 11:15:03 -0500 |
---|---|---|
committer | jim-p <jimp@netgate.com> | 2019-01-29 14:23:04 -0500 |
commit | f39d333279002ceefbb511b3f40c921356faad37 (patch) | |
tree | 0d5a8894baa645e132b6a5df91acaced47b2846d | |
parent | 587c2d557612ccfa856b2ca47799429cab0fce88 (diff) | |
download | pfsense-f39d333279002ceefbb511b3f40c921356faad37.zip pfsense-f39d333279002ceefbb511b3f40c921356faad37.tar.gz |
Encode traceroute error message. Issue #9294
(cherry picked from commit 57ccd08bf7ee05b9a00750a1fd9cf8f148e0c9ac)
-rw-r--r-- | src/usr/local/www/diag_traceroute.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/diag_traceroute.php b/src/usr/local/www/diag_traceroute.php index 7df9634..3b8caad 100644 --- a/src/usr/local/www/diag_traceroute.php +++ b/src/usr/local/www/diag_traceroute.php @@ -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))); } } |