summaryrefslogtreecommitdiff
path: root/includes/file.inc
diff options
context:
space:
mode:
authorDavid Rothstein <drothstein@gmail.com>2012-09-15 17:47:36 -0400
committerDavid Rothstein <drothstein@gmail.com>2012-09-15 17:47:36 -0400
commite218effd9d7d01cf1e5e22b7b1ea367084b7a821 (patch)
tree083621461aa1682a56ddfa77c85e7af2cf68de56 /includes/file.inc
parent4d392996a29b5e650018d403684333884530b9c6 (diff)
downloadbrdo-e218effd9d7d01cf1e5e22b7b1ea367084b7a821.tar.gz
brdo-e218effd9d7d01cf1e5e22b7b1ea367084b7a821.tar.bz2
Issue #1773032 by Jorrit: Fixed Non-standard and pointless name attribute added to Content-Type header.
Diffstat (limited to 'includes/file.inc')
-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',