From: Andrew Dolgov Date: Thu, 26 Oct 2006 03:18:48 +0000 (+0100) Subject: take two at fixing crlf issue in Snoopy, now with digest support X-Git-Tag: 1.2.5~15 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=2d5a42a3a57eb5731fe652ebeb6f11365a19e4e7;p=tt-rss.git take two at fixing crlf issue in Snoopy, now with digest support --- diff --git a/magpierss/extlib/Snoopy.class.inc b/magpierss/extlib/Snoopy.class.inc index 080e694a..fea182a2 100644 --- a/magpierss/extlib/Snoopy.class.inc +++ b/magpierss/extlib/Snoopy.class.inc @@ -506,7 +506,7 @@ class Snoopy if(!is_array($this->rawheaders)) $this->rawheaders = (array)$this->rawheaders; while(list($headerKey,$headerVal) = each($this->rawheaders)) - $headers .= $headerKey.": ".$headerVal."\r\n"; + $headers .= $headerKey.": ".$headerVal; } if(!empty($content_type)) { $headers .= "Content-type: $content_type"; @@ -582,7 +582,7 @@ class Snoopy $this->_tried_digest = true; - $this->rawheaders["Authorization"]=$auth; + $this->rawheaders["Authorization"]=$auth . "\r\n"; $this->user = ""; $this->pass = "";