diff --git a/src/www/diag_logs_filter.php b/src/www/diag_logs_filter.php index 1ceaec248..b28cbcc85 100644 --- a/src/www/diag_logs_filter.php +++ b/src/www/diag_logs_filter.php @@ -409,7 +409,7 @@ function get_port_with_service($port, $proto) { $service = getservbyport($port, $proto); $portstr = ""; if ($service) { - $portstr = sprintf('' . htmlspecialchars($port) . '', $port, $proto, $service); + $portstr = sprintf('' . html_safe($port) . '', html_safe($port), html_safe($proto), html_safe($service)); } else { $portstr = htmlspecialchars($port); } @@ -818,7 +818,7 @@ include("head.inc"); - = html_safe($srcstr) ?> + = $srcstr ?>