mailchimp/OAuth2-sample-apps — Issue #1: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set 
Author: michaelphipps
Created: 2011-11-18 07:08:16+00:00
State: open

I get the error CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set when complete.php receives a response from MailChimp (the error occurs in OAuth2Client.php on line 504.)

By setting CURLOPT_FOLLOWLOCATION => FALSE, on line 246 I was able to work around this error. I'm wondering if FOLLOWLOCATION is required for the code to work properly?