summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorjim-p <jimp@netgate.com>2019-05-03 15:24:43 -0400
committerjim-p <jimp@netgate.com>2019-05-03 15:25:01 -0400
commit41c9fac85c3ff621665bd7fa7b9af497bc16fd3a (patch)
tree1f6dd14c2e1790b1a9b9cce1d5ea1251b7190ce3
parent89c1390a6bf98587417864476fefd8a56977ca4d (diff)
downloadpfsense-41c9fac85c3ff621665bd7fa7b9af497bc16fd3a.zip
pfsense-41c9fac85c3ff621665bd7fa7b9af497bc16fd3a.tar.gz
Encode output in status_filter_reload.php. Fixes #9499
(cherry picked from commit 1af9400d594cd183d011f22fa9b3a7630570a250)
-rw-r--r--src/usr/local/www/status_filter_reload.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/status_filter_reload.php b/src/usr/local/www/status_filter_reload.php
index 8d64f4a..3f8dba9 100644
--- a/src/usr/local/www/status_filter_reload.php
+++ b/src/usr/local/www/status_filter_reload.php
@@ -38,7 +38,7 @@ if (file_exists("{$g['varrun_path']}/filter_reload_status")) {
}
if ($_REQUEST['getstatus']) {
- echo "|{$status}|";
+ echo "|" . htmlspecialchars($status) . "|";
exit;
}
if ($_POST['reloadfilter']) {
OpenPOWER on IntegriCloud