diff options
-rwxr-xr-x | usr/local/www/diag_dump_states.php | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/usr/local/www/diag_dump_states.php b/usr/local/www/diag_dump_states.php index fffdc2b..5ee7d13 100755 --- a/usr/local/www/diag_dump_states.php +++ b/usr/local/www/diag_dump_states.php @@ -31,10 +31,10 @@ require_once("guiconfig.inc"); $pgtitle = array("Diagnostics","Show States"); include("head.inc"); -$srcip = htmlentities($_GET['srcip']); -$dstip = htmlentities($_GET['dstip']); -$action = htmlentities($_GET['action']); -$filter = htmlentities($_GET['filter']); +$srcip = escapeshellarg($_GET['srcip']); +$dstip = escapeshellarg($_GET['dstip']); +$action = escapeshellarg($_GET['action']); +$filter = escapeshellarg($_GET['filter']); /* handle AJAX operations */ if($_GET['action']) { |