summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_backup.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2011-01-05 16:54:56 -0500
committerScott Ullrich <sullrich@pfsense.org>2011-01-05 16:54:56 -0500
commit456962bde2b5b64f2feca58728d96c9c45463f1d (patch)
tree08dd9cc7099943ebfbaf4627e0a38e5bf45fb6a6 /usr/local/www/diag_backup.php
parent9d308f58dadc5ba1a33a2ac7cb12cc898e7e70e1 (diff)
downloadpfsense-456962bde2b5b64f2feca58728d96c9c45463f1d.zip
pfsense-456962bde2b5b64f2feca58728d96c9c45463f1d.tar.gz
nuke content size.
Diffstat (limited to 'usr/local/www/diag_backup.php')
-rwxr-xr-xusr/local/www/diag_backup.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/usr/local/www/diag_backup.php b/usr/local/www/diag_backup.php
index 6ff65fe..613de5a 100755
--- a/usr/local/www/diag_backup.php
+++ b/usr/local/www/diag_backup.php
@@ -243,7 +243,7 @@ if ($_POST) {
$size = strlen($data);
header("Content-Type: application/octet-stream");
header("Content-Disposition: attachment; filename={$name}");
- header("Content-Length: $size");
+
if (isset($_SERVER['HTTPS'])) {
header('Pragma: ');
header('Cache-Control: ');
OpenPOWER on IntegriCloud