summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2006-09-08 16:26:51 +0000
committerDries Buytaert <dries@buytaert.net>2006-09-08 16:26:51 +0000
commita45c5f8169bc910bbc364252750b9ba16b6d9d45 (patch)
tree93fc74a27ceef57e1c39f97345572ea04b6bcbe4
parenta2d546e3c07bd0f3a812593e62c1d9d6dbb5d50e (diff)
downloadbrdo-a45c5f8169bc910bbc364252750b9ba16b6d9d45.tar.gz
brdo-a45c5f8169bc910bbc364252750b9ba16b6d9d45.tar.bz2
- Patch #30525 by rblomme et al: make downloading attachments work with IE6.
-rw-r--r--modules/upload/upload.module3
1 files changed, 2 insertions, 1 deletions
diff --git a/modules/upload/upload.module b/modules/upload/upload.module
index 26a46e74b..68bf09d23 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 {