From: Andrew Dolgov Date: Thu, 24 Jan 2008 08:09:31 +0000 (+0100) Subject: simplepie: enable https and digest auth X-Git-Tag: 1.2.20~66 X-Git-Url: https://git.wh0rd.org/?a=commitdiff_plain;h=96841bf3a3d542bf66b909341b46fa04b13b72a9;p=tt-rss.git simplepie: enable https and digest auth --- diff --git a/simplepie/simplepie.inc b/simplepie/simplepie.inc index 78ccfb8b..fce53d39 100644 --- a/simplepie/simplepie.inc +++ b/simplepie/simplepie.inc @@ -7582,6 +7582,9 @@ class SimplePie_File curl_setopt($fp, CURLOPT_FOLLOWLOCATION, 1); curl_setopt($fp, CURLOPT_MAXREDIRS, $redirects); } + + curl_setopt($fp, CURLOPT_SSL_VERIFYPEER, false); + curl_setopt($fp, CURLOPT_HTTPAUTH, CURLAUTH_ANY); $this->headers = curl_exec($fp); if (curl_errno($fp) == 23 || curl_errno($fp) == 61) @@ -13266,4 +13269,4 @@ class SimplePie_Sanitize } } -?> \ No newline at end of file +?>