summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2016-01-17 20:41:28 -0500
committerjim-p <jimp@pfsense.org>2016-01-17 20:41:28 -0500
commitc8a5dfce04e3dfbf02ee9704f09ae45819ef4553 (patch)
treec653515df5ebb8d5e01b400fe9476a23e7602749 /src
parent862e371e1bfb592ee7d8de73aaad69a34bbcc3a8 (diff)
downloadpfsense-c8a5dfce04e3dfbf02ee9704f09ae45819ef4553.zip
pfsense-c8a5dfce04e3dfbf02ee9704f09ae45819ef4553.tar.gz
Put this htmlspecialchars back, I found a better workaround for the inconsistent handling of checkboxes in packages.
Diffstat (limited to 'src')
-rw-r--r--src/usr/local/www/classes/Form/Checkbox.class.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/classes/Form/Checkbox.class.php b/src/usr/local/www/classes/Form/Checkbox.class.php
index 3444de7..d94c210 100644
--- a/src/usr/local/www/classes/Form/Checkbox.class.php
+++ b/src/usr/local/www/classes/Form/Checkbox.class.php
@@ -66,6 +66,6 @@ class Form_Checkbox extends Form_Input
if (!isset($this->_description))
return $input;
- return '<label>'. $input .' '. gettext($this->_description) .'</label>';
+ return '<label>'. $input .' '. htmlspecialchars(gettext($this->_description)) .'</label>';
}
} \ No newline at end of file
OpenPOWER on IntegriCloud