projectestac / marsupial

Moodle implementation of the Marsupial protocol to let authenticated access to external contents. It's developed by the Ministry of Education of the Government of Catalonia
4 stars 11 forks source link

Se ignora la configuración proxybypass #12

Closed jaime-0000 closed 9 years ago

jaime-0000 commented 9 years ago

Todos estos métodos que invocan a curl están ignorando la configuración proxybypass.

En https://github.com/moodle/moodle/blob/master/lib/moodlelib.php hay una función para ello que se puede usar:

/**
* Check if $url matches anything in proxybypass list
*
* Any errors just result in the proxy being used (least bad)
*
* @param string $url url to check
* @return boolean true if we should bypass the proxy
*/
function is_proxybypass( $url ) { 
crazyserver commented 9 years ago

Gracias Jaime, Ya hemos incorporado la mejora que se liberará en la próxima versión.

Saludos