summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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