MDL-38170 SimplePie: Cannot read https feeds through proxy

This commit is contained in:
sam marshall 2013-02-22 17:23:01 +00:00
parent f29e62cb6c
commit 85cb4b65b1
3 changed files with 137 additions and 1 deletions

View file

@ -139,7 +139,7 @@ class moodle_simplepie_file extends SimplePie_File
}
}
$this->headers = $curl->get($url);
$this->headers = curl::strip_double_headers($curl->get($url));
if ($curl->error) {
$this->error = 'cURL Error: '.$curl->error;