summaryrefslogtreecommitdiff
path: root/includes
diff options
context:
space:
mode:
Diffstat (limited to 'includes')
-rw-r--r--includes/file.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/includes/file.inc b/includes/file.inc
index c5e5cf07d..971a01983 100644
--- a/includes/file.inc
+++ b/includes/file.inc
@@ -2489,7 +2489,7 @@ function file_get_content_headers($file) {
}
return array(
- 'Content-Type' => $type . '; name="' . $name . '"',
+ 'Content-Type' => $type,
'Content-Length' => $file->filesize,
'Content-Disposition' => $disposition . '; filename="' . $name . '"',
'Cache-Control' => 'private',