diff options
author | Stephen Beaver <sbeaver@netgate.com> | 2015-11-19 08:45:35 -0500 |
---|---|---|
committer | Stephen Beaver <sbeaver@netgate.com> | 2015-11-19 08:45:35 -0500 |
commit | bf2d98e3ff354f7724b90f00a1aea3eb4a83690a (patch) | |
tree | 500878d0cae5d706e9e65387649b77f94539d508 /src/usr/local/www/system_advanced_sysctl.php | |
parent | de85421cf2599c7303c125c764d9e0198220c0f6 (diff) | |
download | pfsense-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.php | 2 |
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; |