firewall: roll this back for now

The problem is htmlspecialchars() most likely and html_safe() is fixed now.
This commit is contained in:
Franco Fichtner 2023-02-02 12:20:57 +01:00
parent a0e3b6865a
commit 0c92ec5935

View File

@ -127,7 +127,7 @@ function firewall_rule_item_proto($filterent)
$result = $record_ipprotocol;
$result .= sprintf(
"<span data-toggle=\"tooltip\" title=\"ICMP6 type: %s \"> %s </span>",
html_safe($icmp6types[$filterent['icmp6-type']] ?? ''),
html_safe($icmp6types[$filterent['icmp6-type']]),
isset($filterent['protocol']) ? strtoupper($filterent['protocol']) : "*"
);
return $result;