From: Andrew Dolgov Date: Wed, 18 Jul 2007 11:04:57 +0000 (+0100) Subject: fix http basic authentication in Snoopy X-Git-Tag: 1.2.13~3 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=58e481b47910e31aa4862275cb3e5304b3fa2ee7;p=tt-rss.git fix http basic authentication in Snoopy --- diff --git a/magpierss/extlib/Snoopy.class.inc b/magpierss/extlib/Snoopy.class.inc index fea182a2..83a1e739 100644 --- a/magpierss/extlib/Snoopy.class.inc +++ b/magpierss/extlib/Snoopy.class.inc @@ -517,7 +517,7 @@ class Snoopy if(!empty($body)) $headers .= "Content-length: ".strlen($body)."\r\n"; if(!empty($this->user) || !empty($this->pass)) - $headers .= "Authorization: BASIC ".base64_encode($this->user.":".$this->pass)."\r\n"; + $headers .= "Authorization: Basic ".base64_encode($this->user.":".$this->pass)."\r\n"; $headers .= "\r\n";