diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2008-09-10 22:20:28 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2008-09-10 22:20:28 +0000 |
commit | b8f3372739d73f2df489be50e6cbf02b7da29407 (patch) | |
tree | b95f0de025cacc10498871154de5ffbdcba3590c /usr/local | |
parent | 8a7712ea5d6faaaf03341c1e8bdb5ab240f96504 (diff) | |
download | pfsense-b8f3372739d73f2df489be50e6cbf02b7da29407.zip pfsense-b8f3372739d73f2df489be50e6cbf02b7da29407.tar.gz |
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
Diffstat (limited to 'usr/local')
-rwxr-xr-x | usr/local/www/firewall_rules_edit.php | 2 |
1 files changed, 0 insertions, 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 */ |