Merged in bugfix/HOR-4158 (pull request #6296)

HOR-4158

Approved-by: Julio Cesar Laura Avendaño <contact@julio-laura.com>
This commit is contained in:
Ronald Quenta
2018-01-25 12:41:13 +00:00
committed by Julio Cesar Laura Avendaño
parent 9d6b35b69d
commit 33244d2dad
3 changed files with 89 additions and 87 deletions

View File

@@ -583,7 +583,7 @@ class SOAP_Transport_HTTP extends SOAP_Transport
if (defined('CURLOPT_HTTP_VERSION')) {
curl_setopt($ch, CURLOPT_HTTP_VERSION, 1);
}
if (!ini_get('safe_mode') && !ini_get('open_basedir')) {
if (!ini_get('open_basedir')) {
curl_setopt($ch, CURLOPT_FOLLOWLOCATION, 1);
}
$cookies = $this->_generateCookieHeader($options);