diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-12-15 11:05:09 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-12-15 11:05:09 -0500 |
commit | 7c8852509cd2fe7667d758b6049593a91b490f02 (patch) | |
tree | f401c9f735536a7ce09a105a4c2527f7f4bdface /src | |
parent | 9621898e9736b78faf5013f3e2b2fb0ba628c4a3 (diff) | |
parent | 47cf96e03ce9ebfa29d4a5a71b82bd31ad3081ac (diff) | |
download | pfsense-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.php | 2 |
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) |