Commit a45c5f81 authored by Dries's avatar Dries

- Patch #30525 by rblomme et al: make downloading attachments work with IE6.

parent a2d546e3
......@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment