summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2015-12-15 11:05:09 -0500
committerStephen Beaver <sbeaver@netgate.com>2015-12-15 11:05:09 -0500
commit7c8852509cd2fe7667d758b6049593a91b490f02 (patch)
treef401c9f735536a7ce09a105a4c2527f7f4bdface /src
parent9621898e9736b78faf5013f3e2b2fb0ba628c4a3 (diff)
parent47cf96e03ce9ebfa29d4a5a71b82bd31ad3081ac (diff)
downloadpfsense-7c8852509cd2fe7667d758b6049593a91b490f02.zip
pfsense-7c8852509cd2fe7667d758b6049593a91b490f02.tar.gz
Merge pull request #2238 from NOYB/Form_Action_Attribute_HTMLSpecialChars
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/classes/Form.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/classes/Form.class.php b/src/usr/local/www/classes/Form.class.php
index 6f30f69..16865c0 100644
--- a/src/usr/local/www/classes/Form.class.php
+++ b/src/usr/local/www/classes/Form.class.php
@@ -54,7 +54,7 @@ class Form extends Form_Element
$this->addGlobal($submit);
if (!isset($this->_attributes['action']))
- $this->_attributes['action'] = htmlspecialchars($_SERVER['REQUEST_URI']);
+ $this->_attributes['action'] = $_SERVER['REQUEST_URI'];
}
public function add(Form_Section $section)
OpenPOWER on IntegriCloud