summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/diag_routes.php
diff options
context:
space:
mode:
authorjim-p <jimp@pfsense.org>2016-05-20 12:13:15 -0400
committerjim-p <jimp@pfsense.org>2016-05-20 12:13:49 -0400
commitb1952073387c6cd48a32623260285df5d67e11ee (patch)
treeb41d4d2fab5e21092eff05b943fc29993d92dbe8 /src/usr/local/www/diag_routes.php
parent5c4b89a468f608be63fc9aa05729e4a7f39ccd58 (diff)
downloadpfsense-b1952073387c6cd48a32623260285df5d67e11ee.zip
pfsense-b1952073387c6cd48a32623260285df5d67e11ee.tar.gz
Fix quoting in diag_routes.php, see ticket #6371
Diffstat (limited to 'src/usr/local/www/diag_routes.php')
-rw-r--r--src/usr/local/www/diag_routes.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/diag_routes.php b/src/usr/local/www/diag_routes.php
index ed34148..250c3f5 100644
--- a/src/usr/local/www/diag_routes.php
+++ b/src/usr/local/www/diag_routes.php
@@ -80,7 +80,7 @@ if (isset($_REQUEST['isAjax'])) {
}
if (!empty($_REQUEST['filter'])) {
- $netstat .= " | /usr/bin/sed -e '1,3d; 5,\$ { /" . escapeshellarg(htmlspecialchars($_REQUEST['filter'])) . "/!d; };'";
+ $netstat .= " | /usr/bin/sed -e " . escapeshellarg("1,3d; 5,\$ { /" . htmlspecialchars($_REQUEST['filter']) . "/!d; };");
} else {
$netstat .= " | /usr/bin/sed -e '1,3d'";
}
OpenPOWER on IntegriCloud