RSS feeder via proxy server don't work because it does not include credential when calling the proxy. After some tests, i found that putting this line in comments make the RSS call to work again.
lib/filelib.php Line: 236 |
...
|
if (!empty($CFG->proxyuser) and !empty($CFG->proxypassword)) {
|
curl_setopt($ch, CURLOPT_PROXYUSERPWD, $CFG->proxyuser.':'.$CFG->proxypassword);
|
if (defined('CURLOPT_PROXYAUTH')) {
|
// any proxy authentication if PHP 5.1
|
>>> //curl_setopt($ch, CURLOPT_PROXYAUTH, CURLAUTH_BASIC | CURLAUTH_NTLM);
|
}
|
}
|
- has been marked as being related by
-
MDL-30648 RSS Feeds do not update during Cron job and can not add new Feeds. Appears SimplePie ignores Moodle Proxy settings.
-
- Closed
-