From b8f3372739d73f2df489be50e6cbf02b7da29407 Mon Sep 17 00:00:00 2001 From: Scott Ullrich Date: Wed, 10 Sep 2008 22:20:28 +0000 Subject: We already escape characters. Do not worry about notifying user that the description field is invalid as it will be escaped again during firewall_rules.php --- usr/local/www/firewall_rules_edit.php | 2 -- 1 file changed, 2 deletions(-) diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php index e4bc3d2..1503c1d 100755 --- a/usr/local/www/firewall_rules_edit.php +++ b/usr/local/www/firewall_rules_edit.php @@ -221,8 +221,6 @@ if ($_POST) { if (isset($_POST['floating']) && $key == "interface") continue; $newpost = htmlentities($temp); - if($newpost <> $temp) - $input_errors[] = "Invalid characters detected ($temp). Please remove invalid characters and save again."; } /* input validation */ -- cgit v1.1