summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2008-09-10 22:20:28 +0000
committerScott Ullrich <sullrich@pfsense.org>2008-09-10 22:20:28 +0000
commitb8f3372739d73f2df489be50e6cbf02b7da29407 (patch)
treeb95f0de025cacc10498871154de5ffbdcba3590c
parent8a7712ea5d6faaaf03341c1e8bdb5ab240f96504 (diff)
downloadpfsense-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
-rwxr-xr-xusr/local/www/firewall_rules_edit.php2
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 */
OpenPOWER on IntegriCloud