[TYPO3-core] Reminder: Bug #5985 Warning: curl_setopt(): CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir is set
Martin Kutschker
martin.kutschker-n0spam at no5pam-blackbox.net
Sat Oct 20 21:07:12 CEST 2007
Andreas Otto schrieb:
> Hi,
>
> any news what we are going to do with this issue?
>
> http://bugs.typo3.org/view.php?id=5985
Ok, here is the patch which is meant for TYPO3_4-1 only!
It simply uses @ to suppress the warning. No special handling is done
for that case because getURL provides no means to deal with any errors
or unexpected return values from the server (neither cURL nor fopen
branches).
It also fixes some more glitches:
* $includeHeaders works only for http and https but check allows also
gopher, ftp, ftps and telnet.
* $inludeHeaders has a wrong default port for https
* $includeHeaders ignores $requestHeaders
Masi
-------------- next part --------------
A non-text attachment was scrubbed...
Name: bug_5985_etc.diff
Type: text/x-diff
Size: 2031 bytes
Desc: not available
Url : http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20071020/f15e24be/attachment-0001.diff
More information about the TYPO3-team-core
mailing list