summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/system_advanced_sysctl.php
diff options
context:
space:
mode:
authorStephen Beaver <sbeaver@netgate.com>2015-11-19 08:45:35 -0500
committerStephen Beaver <sbeaver@netgate.com>2015-11-19 08:45:35 -0500
commitbf2d98e3ff354f7724b90f00a1aea3eb4a83690a (patch)
tree500878d0cae5d706e9e65387649b77f94539d508 /src/usr/local/www/system_advanced_sysctl.php
parentde85421cf2599c7303c125c764d9e0198220c0f6 (diff)
downloadpfsense-bf2d98e3ff354f7724b90f00a1aea3eb4a83690a.zip
pfsense-bf2d98e3ff354f7724b90f00a1aea3eb4a83690a.tar.gz
Alternate solution to #5459
Diffstat (limited to 'src/usr/local/www/system_advanced_sysctl.php')
-rw-r--r--src/usr/local/www/system_advanced_sysctl.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/system_advanced_sysctl.php b/src/usr/local/www/system_advanced_sysctl.php
index da44bc7..6afb3a9 100644
--- a/src/usr/local/www/system_advanced_sysctl.php
+++ b/src/usr/local/www/system_advanced_sysctl.php
@@ -150,7 +150,7 @@ if ($_POST) {
} else {
$tunableent['tunable'] = htmlspecialchars($_POST['tunable']);
$tunableent['value'] = htmlspecialchars($_POST['value']);
- $tunableent['descr'] = htmlspecialchars($_POST['descr']);
+ $tunableent['descr'] = strip_tags($_POST['descr']);
if (isset($id) && isset($a_tunable[$id])) {
$a_tunable[$id] = $tunableent;
OpenPOWER on IntegriCloud