From a45c5f8169bc910bbc364252750b9ba16b6d9d45 Mon Sep 17 00:00:00 2001 From: Dries Buytaert <dries@buytaert.net> Date: Fri, 8 Sep 2006 16:26:51 +0000 Subject: [PATCH] - Patch #30525 by rblomme et al: make downloading attachments work with IE6. --- modules/upload/upload.module | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/upload/upload.module b/modules/upload/upload.module index 26a46e74b564..68bf09d23ded 100644 --- a/modules/upload/upload.module +++ b/modules/upload/upload.module @@ -279,7 +279,8 @@ function upload_file_download($file) { return array( 'Content-Type: '. $type .'; name='. $name, 'Content-Length: '. $file->filesize, - 'Content-Disposition: '. $disposition .'; filename='. $name + 'Content-Disposition: '. $disposition .'; filename='. $name, + 'Cache-Control: private' ); } else { -- GitLab