mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2025-12-15 23:05:55 +00:00
fix http basic authentication in Snoopy
This commit is contained in:
@@ -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";
|
||||
|
||||
|
||||
Reference in New Issue
Block a user