mirror of
https://github.com/moodle/moodle.git
synced 2025-08-05 00:46:50 +02:00
MDL-38170 SimplePie: Cannot read https feeds through proxy
This commit is contained in:
parent
f29e62cb6c
commit
85cb4b65b1
3 changed files with 137 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue