From 58e481b47910e31aa4862275cb3e5304b3fa2ee7 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Wed, 18 Jul 2007 12:04:57 +0100 Subject: [PATCH] fix http basic authentication in Snoopy --- magpierss/extlib/Snoopy.class.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"; -- 2.39.5