simplepie: enable https and digest auth
This commit is contained in:
parent
6d7d21a035
commit
96841bf3a3
1 changed files with 4 additions and 1 deletions
|
@ -7582,6 +7582,9 @@ class SimplePie_File
|
||||||
curl_setopt($fp, CURLOPT_FOLLOWLOCATION, 1);
|
curl_setopt($fp, CURLOPT_FOLLOWLOCATION, 1);
|
||||||
curl_setopt($fp, CURLOPT_MAXREDIRS, $redirects);
|
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);
|
$this->headers = curl_exec($fp);
|
||||||
if (curl_errno($fp) == 23 || curl_errno($fp) == 61)
|
if (curl_errno($fp) == 23 || curl_errno($fp) == 61)
|
||||||
|
@ -13266,4 +13269,4 @@ class SimplePie_Sanitize
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
Loading…
Reference in a new issue