summaryrefslogtreecommitdiffstats
path: root/src/usr/local/www/diag_confbak.php
diff options
context:
space:
mode:
authorSteve Beaver <sbeaver@netgate.com>2017-02-14 16:06:48 -0500
committerSteve Beaver <sbeaver@netgate.com>2017-02-14 16:06:48 -0500
commitcbb82e6b6ca03d59209ef8f76968249ca390a9a2 (patch)
tree0423a998336ecf21d9542877fa7ada393709bf43 /src/usr/local/www/diag_confbak.php
parent9f2bbdb44c5700384a37a9586d260492f14f7602 (diff)
downloadpfsense-cbb82e6b6ca03d59209ef8f76968249ca390a9a2.zip
pfsense-cbb82e6b6ca03d59209ef8f76968249ca390a9a2.tar.gz
GET/POST conversions
Diffstat (limited to 'src/usr/local/www/diag_confbak.php')
-rw-r--r--src/usr/local/www/diag_confbak.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/usr/local/www/diag_confbak.php b/src/usr/local/www/diag_confbak.php
index 39d2ed3..5c3e3c9 100644
--- a/src/usr/local/www/diag_confbak.php
+++ b/src/usr/local/www/diag_confbak.php
@@ -60,7 +60,7 @@ if ($_REQUEST['getcfg'] != "") {
$_REQUEST['getcfg'] = basename($_REQUEST['getcfg']);
$file = $g['conf_path'] . '/backup/config-' . $_REQUEST['getcfg'] . '.xml';
- $exp_name = urlencode("config-{$config['system']['hostname']}.{$config['system']['domain']}-{$_GET['getcfg']}.xml");
+ $exp_name = urlencode("config-{$config['system']['hostname']}.{$config['system']['domain']}-{$_REQUEST['getcfg']}.xml");
$exp_data = file_get_contents($file);
$exp_size = strlen($exp_data);
OpenPOWER on IntegriCloud