From 0c92ec593531628ff1e2e550f5ca81fabf640d8b Mon Sep 17 00:00:00 2001 From: Franco Fichtner Date: Thu, 2 Feb 2023 12:20:57 +0100 Subject: [PATCH] firewall: roll this back for now The problem is htmlspecialchars() most likely and html_safe() is fixed now. --- src/www/firewall_rules.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/www/firewall_rules.php b/src/www/firewall_rules.php index 1c4b7caec..8d523ef33 100644 --- a/src/www/firewall_rules.php +++ b/src/www/firewall_rules.php @@ -127,7 +127,7 @@ function firewall_rule_item_proto($filterent) $result = $record_ipprotocol; $result .= sprintf( " %s ", - html_safe($icmp6types[$filterent['icmp6-type']] ?? ''), + html_safe($icmp6types[$filterent['icmp6-type']]), isset($filterent['protocol']) ? strtoupper($filterent['protocol']) : "*" ); return $result;