mirror of
https://github.com/pfsense/pfsense.git
synced 2025-10-26 11:38:35 +00:00
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:
parent
8a7712ea5d
commit
b8f3372739
@ -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 */
|
||||
|
||||
Loading…
Reference in New Issue
Block a user