Comment 5 for bug 740326

Revision history for this message
Darren James Harkness (darren-athabascau) wrote :

Attached is a patch against Mahara 1.3.6 that adds two new optional configuration fields, Authenticated RSS Username and Authenticated RSS Password. It also modifies lib/web.php to supply the CURLOPT_USERPWD when a username and password are set (This modification can also be used by other blocks that require access to web-based resources behind HTTPAuth).

This patch affects the following files:

htdocs/lib/web.php
htdocs/blocktype/externalfeed/lib.php
htdocs/blocktype/externalfeed/lang/en.utf8/blocktype.externalfeed.php

This patch has been tested against Mahara 1.3.6, but will likely need to be tweaked to match Mahara's coding guidelines and styles.