summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/firewall_nat_edit.php
diff options
context:
space:
mode:
authorPhil Davis <phil.davis@inf.org>2017-03-17 11:15:33 +0545
committerPhil Davis <phil.davis@inf.org>2017-03-17 11:15:33 +0545
commit58e8a4fd52793b1792b36b0928b9cfbfa2106b19 (patch)
tree92090390398ac3a09722a66faefc5d60f7616938 /src/usr/local/www/firewall_nat_edit.php
parent59fada5c1fb57f2896caae895c70dd10ef5d02da (diff)
downloadpfsense-58e8a4fd52793b1792b36b0928b9cfbfa2106b19.zip
pfsense-58e8a4fd52793b1792b36b0928b9cfbfa2106b19.tar.gz
No need to check for HTML in NAT descr
Diffstat (limited to 'src/usr/local/www/firewall_nat_edit.php')
-rw-r--r--src/usr/local/www/firewall_nat_edit.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/usr/local/www/firewall_nat_edit.php b/src/usr/local/www/firewall_nat_edit.php
index 96869b5..f834e67 100644
--- a/src/usr/local/www/firewall_nat_edit.php
+++ b/src/usr/local/www/firewall_nat_edit.php
@@ -114,6 +114,10 @@ if (isset($_REQUEST['dup']) && is_numericint($_REQUEST['dup'])) {
unset($input_errors);
foreach ($_REQUEST as $key => $value) {
+ if ($key == 'descr') {
+ continue;
+ }
+
$temp = $value;
$newpost = htmlentities($temp);
OpenPOWER on IntegriCloud