- Patch #140412 by quicksketch: use drupal_set_header() instead of header().

6.x
Dries Buytaert 2007-05-22 17:43:17 +00:00
parent 0047e35d91
commit 23e253617d
1 changed files with 1 additions and 1 deletions

View File

@ -553,7 +553,7 @@ function file_transfer($source, $headers) {
// not followed by a space or a tab.
// See http://www.w3.org/Protocols/rfc2616/rfc2616-sec4.html#sec4.2
$header = preg_replace('/\r?\n(?!\t| )/', '', $header);
header($header);
drupal_set_header($header);
}
$source = file_create_path($source);