diff options
author | bmeeks8 <bmeeks8@bellsouth.net> | 2014-02-22 00:33:26 -0500 |
---|---|---|
committer | bmeeks8 <bmeeks8@bellsouth.net> | 2014-02-22 00:33:26 -0500 |
commit | de040922497c3ff0f1a77451063de25b3b579393 (patch) | |
tree | 77303959a2ec4340393d40db7cb8dee9485c35a3 /config/suricata/suricata_interfaces_edit.php | |
parent | 4d68da5d12cc272337f38d338913f66a8c703898 (diff) | |
download | pfsense-packages-de040922497c3ff0f1a77451063de25b3b579393.tar.gz pfsense-packages-de040922497c3ff0f1a77451063de25b3b579393.tar.bz2 pfsense-packages-de040922497c3ff0f1a77451063de25b3b579393.zip |
Continue change of $_GET to $_POST wherever possible.
Diffstat (limited to 'config/suricata/suricata_interfaces_edit.php')
-rw-r--r-- | config/suricata/suricata_interfaces_edit.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/suricata/suricata_interfaces_edit.php b/config/suricata/suricata_interfaces_edit.php index b1e05f99..20deb885 100644 --- a/config/suricata/suricata_interfaces_edit.php +++ b/config/suricata/suricata_interfaces_edit.php @@ -40,7 +40,7 @@ if (!is_array($config['installedpackages']['suricata']['rule'])) $config['installedpackages']['suricata']['rule'] = array(); $a_rule = &$config['installedpackages']['suricata']['rule']; -if ($_GET['id'] && is_numeric($_POST['id'])); +if ($_GET['id'] && is_numeric($_GET['id'])); $id = htmlspecialchars($_GET['id'], ENT_QUOTES | ENT_HTML401); if ($_POST['id'] && is_numeric($_POST['id'])) $id = $_POST['id']; |