diff options
author | Scott Ullrich <sullrich@pfsense.org> | 2011-01-05 16:54:56 -0500 |
---|---|---|
committer | Scott Ullrich <sullrich@pfsense.org> | 2011-01-05 16:54:56 -0500 |
commit | 456962bde2b5b64f2feca58728d96c9c45463f1d (patch) | |
tree | 08dd9cc7099943ebfbaf4627e0a38e5bf45fb6a6 /usr | |
parent | 9d308f58dadc5ba1a33a2ac7cb12cc898e7e70e1 (diff) | |
download | pfsense-456962bde2b5b64f2feca58728d96c9c45463f1d.zip pfsense-456962bde2b5b64f2feca58728d96c9c45463f1d.tar.gz |
nuke content size.
Diffstat (limited to 'usr')
-rwxr-xr-x | usr/local/www/diag_backup.php | 2 |
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: '); |