summaryrefslogtreecommitdiff
path: root/magpierss
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-10-26 04:18:48 +0100
committerAndrew Dolgov <[email protected]>2006-10-26 04:18:48 +0100
commit2d5a42a3a57eb5731fe652ebeb6f11365a19e4e7 (patch)
treea1ab43d0a5240bc7b2d8cc6fbb95ec884a1e13e4 /magpierss
parentba5f89352f42d1b9d83426c09b536a0b61693d01 (diff)
take two at fixing crlf issue in Snoopy, now with digest support
Diffstat (limited to 'magpierss')
-rw-r--r--magpierss/extlib/Snoopy.class.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/magpierss/extlib/Snoopy.class.inc b/magpierss/extlib/Snoopy.class.inc
index 080e694a6..fea182a22 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 = "";