diff --git a/nest.class.php b/nest.class.php
index <HASH>..<HASH> 100644
--- a/nest.class.php
+++ b/nest.class.php
@@ -729,7 +729,6 @@ class Nest {
         curl_setopt($ch, CURLOPT_CUSTOMREQUEST, $method);
         curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
         curl_setopt($ch, CURLOPT_HEADER, FALSE);
-        curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
         curl_setopt($ch, CURLOPT_AUTOREFERER, TRUE);
         curl_setopt($ch, CURLOPT_USERAGENT, self::user_agent); 
         curl_setopt($ch, CURLOPT_COOKIEJAR, $this->cookie_file);
@@ -806,7 +805,6 @@ class Nest {
             $ch = curl_init();
             curl_setopt($ch, CURLOPT_URL, $url);
             curl_setopt($ch, CURLOPT_RETURNTRANSFER, TRUE);
-            curl_setopt($ch, CURLOPT_FOLLOWLOCATION, TRUE);
             curl_setopt($ch, CURLOPT_SSL_VERIFYPEER, TRUE); // for security this should always be set to true.
             curl_setopt($ch, CURLOPT_SSL_VERIFYHOST, 2);    // for security this should always be set to 2.
             $response = curl_exec($ch);
Bugfix: CURLOPT_FOLLOWLOCATION is not allowed with open_basedir directive

Fixes #<I>