From e218effd9d7d01cf1e5e22b7b1ea367084b7a821 Mon Sep 17 00:00:00 2001 From: David Rothstein Date: Sat, 15 Sep 2012 17:47:36 -0400 Subject: Issue #1773032 by Jorrit: Fixed Non-standard and pointless name attribute added to Content-Type header. --- includes/file.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'includes/file.inc') 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', -- cgit v1.2.3