Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-20247

RSS Feed via proxy server using username:password

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Cannot Reproduce
    • Icon: Minor Minor
    • None
    • 1.9.5, STABLE backlog
    • RSS
    • 64bit intel - Red Hat Enterprise Linux AS release 4 (Nahant Update 8) - PHP 5.2.5 (cli) - Curl Version : 7.12.1
    • MOODLE_19_STABLE
    • Easy

      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);
                  }
              }

            poltawski Dan Poltawski
            dpouliot Daniel Pouliot (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved:

                Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.