educoder/pest — Issue #6: Problem with hosts running safe mode
Author: bjovas
Created: 2011-11-30 09:21:56+00:00
State: open

curl_opts[CURLOPT_FOLLOWLOCATION] = true will not be accepted on hosts running in safe mode.

Temporary fix is to simply disable it in the code using the class ( $pest->curl_opts[CURLOPT_FOLLOWLOCATION] = false; ) , but it would probably be better to have an option to setup the object for safe mode.