mirror of
https://git.tt-rss.org/fox/tt-rss.git
synced 2025-09-02 20:21:03 +02:00
take two at fixing crlf issue in Snoopy, now with digest support
This commit is contained in:
parent
ba5f89352f
commit
2d5a42a3a5
@ -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";
|
||||||
@ -582,7 +582,7 @@ class Snoopy
|
|||||||
|
|
||||||
$this->_tried_digest = true;
|
$this->_tried_digest = true;
|
||||||
|
|
||||||
$this->rawheaders["Authorization"]=$auth;
|
$this->rawheaders["Authorization"]=$auth . "\r\n";
|
||||||
$this->user = "";
|
$this->user = "";
|
||||||
$this->pass = "";
|
$this->pass = "";
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user