Skip to content
Snippets Groups Projects
Commit 23e25361 authored by Dries Buytaert's avatar Dries Buytaert
Browse files

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

parent 0047e35d
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment