Commit 36a1c771 authored by Phil Höfer's avatar Phil Höfer
Browse files

Newline nach HTTP-Header ergänzt

parent ea6d74cc
......@@ -222,7 +222,7 @@ class Search extends Job implements ShouldQueue
$out .= "Accept-Language: de,en-US;q=0.7,en;q=0.3\r\n";
$out .= "Accept-Encoding: gzip, deflate, br\r\n";
foreach (explode("$#!#$", $this->additionalHeaders) as $additionalHeader) {
$out .= str_replace("$#!!#$", "$#!#$", $additionalHeader);
$out .= str_replace("$#!!#$", "$#!#$", $additionalHeader) . "\r\n";
}
$out .= $this->additionalHeaders;
$out .= "Connection: keep-alive\r\n\r\n";
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment