diff options
author | Steve Beaver <sbeaver@netgate.com> | 2017-02-14 16:06:48 -0500 |
---|---|---|
committer | Steve Beaver <sbeaver@netgate.com> | 2017-02-14 16:06:48 -0500 |
commit | cbb82e6b6ca03d59209ef8f76968249ca390a9a2 (patch) | |
tree | 0423a998336ecf21d9542877fa7ada393709bf43 /src/usr/local/www/diag_confbak.php | |
parent | 9f2bbdb44c5700384a37a9586d260492f14f7602 (diff) | |
download | pfsense-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.php | 2 |
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); |