diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2007-12-04 00:17:27 +0000 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2007-12-04 00:17:27 +0000 |
commit | f320386cd9739ec0d52916e5b76c04803d286b42 (patch) | |
tree | 01288eec6aa3e183d909d891dcf577500aca648a /usr/local/www | |
parent | 21eff66f3199bb0c50c9ea5a9a473043dd4991a1 (diff) | |
download | pfsense-f320386cd9739ec0d52916e5b76c04803d286b42.zip pfsense-f320386cd9739ec0d52916e5b76c04803d286b42.tar.gz |
Tell user which characters are bad
Diffstat (limited to 'usr/local/www')
-rwxr-xr-x | usr/local/www/firewall_nat_edit.php | 2 | ||||
-rwxr-xr-x | usr/local/www/firewall_rules_edit.php | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/usr/local/www/firewall_nat_edit.php b/usr/local/www/firewall_nat_edit.php index 6b5ab58..8ccbd6a 100755 --- a/usr/local/www/firewall_nat_edit.php +++ b/usr/local/www/firewall_nat_edit.php @@ -84,7 +84,7 @@ foreach ($_POST as $key => $value) { $temp = $value; $newpost = htmlentities($temp); if($newpost <> $temp) - $input_errors[] = "Invalid characters detected. Please remove invalid characters and save again."; + $input_errors[] = "Invalid characters detected ($temp). Please remove invalid characters and save again."; } if ($_POST) { diff --git a/usr/local/www/firewall_rules_edit.php b/usr/local/www/firewall_rules_edit.php index b2616d0..c3e3743 100755 --- a/usr/local/www/firewall_rules_edit.php +++ b/usr/local/www/firewall_rules_edit.php @@ -196,7 +196,7 @@ if ($_POST) { $temp = $value; $newpost = htmlentities($temp); if($newpost <> $temp) - $input_errors[] = "Invalid characters detected. Please remove invalid characters and save again."; + $input_errors[] = "Invalid characters detected ($temp). Please remove invalid characters and save again."; } /* input validation */ |