#16600CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set
Description
Since uprgrading from 4.0.0 to 4.0.2 I noticed a lot of warnings in my php-error-log.
The warning looks like this:
PHP Warning: curl_setopt() [function.curl-setopt]: CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set in /…./typo3_src-4.0.2/t3lib/class.t3lib_div.php on line 2322
I think the option CURLOPT_FOLLOWLOCATION should be set optional by a configuration parameter.
My php version is 5.1.6 and open_basedir is set
Workaround: uncomment the line 2322 in class.t3lib_div.php
or set it like the following
curl_setopt($ch, CURLOPT_RETURNTRANSFER, 0);
(issue imported from #M4292)
Reviews 0
No change resolves or names this issue in its commit message, and no comment links one.