diff options
author | jim-p <jimp@pfsense.org> | 2016-05-20 12:13:15 -0400 |
---|---|---|
committer | jim-p <jimp@pfsense.org> | 2016-05-20 12:13:15 -0400 |
commit | a3013ca688ce6e8b506fa2a5c6251f77778e39bc (patch) | |
tree | 3c4f1eb4ea30c5c1950448b410e4d2675b335804 | |
parent | 0e4e4251ebf09937e7069a94f5faef51bbe15fac (diff) | |
download | pfsense-a3013ca688ce6e8b506fa2a5c6251f77778e39bc.zip pfsense-a3013ca688ce6e8b506fa2a5c6251f77778e39bc.tar.gz |
Fix quoting in diag_routes.php, see ticket #6371
-rw-r--r-- | src/usr/local/www/diag_routes.php | 2 |
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'"; } |