Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Minor
-
Resolution: Unresolved
-
Affects Version/s: 1.9.5, STABLE backlog
-
Fix Version/s: None
-
Component/s: RSS
-
Labels:
-
Environment:64bit intel - Red Hat Enterprise Linux AS release 4 (Nahant Update 8) - PHP 5.2.5 (cli) - Curl Version : 7.12.1
-
Difficulty:Easy
-
Affected Branches:MOODLE_19_STABLE
Description
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);
}
}
Issue Links
| This issue 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. |
|
|
|
Hi Daniel,
I don't understand what you did to fix the problem?