diff options
author | Chris Buechler <cmb@pfsense.org> | 2014-04-11 14:56:44 -0500 |
---|---|---|
committer | Chris Buechler <cmb@pfsense.org> | 2014-04-11 14:59:53 -0500 |
commit | 075721b1e3cdf77a9e4691aa894f3c3ce391e344 (patch) | |
tree | 84d8d3f29608bb9713e2a8f6a63c4ff4a521deaa /config/autoconfigbackup/autoconfigbackup.php | |
parent | acb92811852985945720c536e3b0b71a7cc5ee16 (diff) | |
download | pfsense-packages-075721b1e3cdf77a9e4691aa894f3c3ce391e344.tar.gz pfsense-packages-075721b1e3cdf77a9e4691aa894f3c3ce391e344.tar.bz2 pfsense-packages-075721b1e3cdf77a9e4691aa894f3c3ce391e344.zip |
trim sha256 client-side on AutoConfigBackup, bump version
Diffstat (limited to 'config/autoconfigbackup/autoconfigbackup.php')
-rw-r--r-- | config/autoconfigbackup/autoconfigbackup.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/config/autoconfigbackup/autoconfigbackup.php b/config/autoconfigbackup/autoconfigbackup.php index 69ac3e03..20f5f741 100644 --- a/config/autoconfigbackup/autoconfigbackup.php +++ b/config/autoconfigbackup/autoconfigbackup.php @@ -194,7 +194,7 @@ function get_hostnames() { "&revision=" . urlencode($_REQUEST['newver'])); $data = curl_exec($curl_session); $data_split = split("\+\+\+\+", $data); - $sha256 = $data_split[0]; // sha256 + $sha256 = trim($data_split[0]); // sha256 $data = $data_split[1]; if (!tagfile_deformat($data, $data, "config.xml")) $input_errors[] = "The downloaded file does not appear to contain an encrypted pfSense configuration."; |