diff options
-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: '); |