mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-10 16:01:33 +00:00
Snoopy: revert cr-lf patch, breaks http auth
This commit is contained in:
@@ -506,7 +506,7 @@ class Snoopy
|
|||||||
if(!is_array($this->rawheaders))
|
if(!is_array($this->rawheaders))
|
||||||
$this->rawheaders = (array)$this->rawheaders;
|
$this->rawheaders = (array)$this->rawheaders;
|
||||||
while(list($headerKey,$headerVal) = each($this->rawheaders))
|
while(list($headerKey,$headerVal) = each($this->rawheaders))
|
||||||
$headers .= $headerKey.": ".$headerVal."\r\n";
|
$headers .= $headerKey.": ".$headerVal;
|
||||||
}
|
}
|
||||||
if(!empty($content_type)) {
|
if(!empty($content_type)) {
|
||||||
$headers .= "Content-type: $content_type";
|
$headers .= "Content-type: $content_type";
|
||||||
|
|||||||
Reference in New Issue
Block a user