summaryrefslogtreecommitdiffstats
path: root/usr/local/www/diag_backup.php
diff options
context:
space:
mode:
authorScott Ullrich <sullrich@pfsense.org>2011-01-11 21:37:52 -0500
committerScott Ullrich <sullrich@pfsense.org>2011-01-11 21:37:52 -0500
commita8c3598046fe25494801bb77490c36c2644a650a (patch)
tree67e4bdd6fefeab0892def5df9db424463f3b4b52 /usr/local/www/diag_backup.php
parent34bf3b3b938fc878341dfc730dd8f8cf78e73ba1 (diff)
downloadpfsense-a8c3598046fe25494801bb77490c36c2644a650a.zip
pfsense-a8c3598046fe25494801bb77490c36c2644a650a.tar.gz
Revert "nuke content size."
This reverts commit 456962bde2b5b64f2feca58728d96c9c45463f1d.
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 613de5a..6ff65fe 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