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
This commit is contained in:
Scott Ullrich 2008-09-10 22:20:28 +00:00
parent 8a7712ea5d
commit b8f3372739

View File

@ -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 */