[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 Dec 8 14:47:17 CET 2007
Martin Kutschker schrieb:
>
> 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
REMINDER - patch for 4.1!
So far one +1.
Masi
More information about the TYPO3-team-core
mailing list