summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/system_gateway_groups_edit.php
diff options
context:
space:
mode:
authorSteve Beaver <sbeaver@netgate.com>2017-02-13 10:47:47 -0500
committerSteve Beaver <sbeaver@netgate.com>2017-02-13 10:48:25 -0500
commit4611e283323f0eaf44bc4ded4ad4f7cf9d8cdbe1 (patch)
tree44a60f536cefad3d50cefccf780c98094e217d1a /src/usr/local/www/system_gateway_groups_edit.php
parentac4fe723a521e35a29fb55075cdfdb2230d74aa2 (diff)
downloadpfsense-4611e283323f0eaf44bc4ded4ad4f7cf9d8cdbe1.zip
pfsense-4611e283323f0eaf44bc4ded4ad4f7cf9d8cdbe1.tar.gz
Revisions to GET/POST conversion limiting POSTs to save, apply, and delete functions
Diffstat (limited to 'src/usr/local/www/system_gateway_groups_edit.php')
-rw-r--r--src/usr/local/www/system_gateway_groups_edit.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/usr/local/www/system_gateway_groups_edit.php b/src/usr/local/www/system_gateway_groups_edit.php
index 5e3c18a..f1baf02 100644
--- a/src/usr/local/www/system_gateway_groups_edit.php
+++ b/src/usr/local/www/system_gateway_groups_edit.php
@@ -44,12 +44,12 @@ $categories = array(
'downlatency' => gettext("High Latency"),
'downlosslatency' => gettext("Packet Loss or High Latency"));
-if (isset($_POST['id']) && is_numericint($_POST['id'])) {
- $id = $_POST['id'];
+if (isset($_REQUEST['id']) && is_numericint($_REQUEST['id'])) {
+ $id = $_REQUEST['id'];
}
-if (isset($_POST['dup']) && is_numericint($_POST['dup'])) {
- $id = $_POST['dup'];
+if (isset($_REQUEST['dup']) && is_numericint($_REQUEST['dup'])) {
+ $id = $_REQUEST['dup'];
}
if (isset($id) && $a_gateway_groups[$id]) {
@@ -59,7 +59,7 @@ if (isset($id) && $a_gateway_groups[$id]) {
$pconfig['trigger'] = $a_gateway_groups[$id]['trigger'];
}
-if (isset($_POST['dup']) && is_numericint($_POST['dup'])) {
+if (isset($_REQUEST['dup']) && is_numericint($_REQUEST['dup'])) {
unset($id);
}
OpenPOWER on IntegriCloud