[TYPO3-core] RFC: #1364, #5985, #7624: improved version of getUrl (cUrl, CURLOPT_FOLLOWLOCATION, error reporting)

Michael Stucki michael at typo3.org
Mon Mar 3 17:54:31 CET 2008


I could reproduce this. It was caused by a combination of Masis patch and
the one from Ingo this morning.

Obviously the $parsedURL was not filled if cURL was not used and at the same
time request headers were set.

I have fixed this by simply adding this line above the check:

$parsedURL = parse_url($url);

Committed in revision 3370 (http://code.typo3.org/v4/changeset/3370)

- michael

Steffen Kamper wrote:

> 
> Hi,
> 
> i don't know if it's caused to this patch but i'm not able to import any
> extension from TER.
> 
> normal mode:
> Error: The datatransfer did not succeed. The T3X file could not be
> fetched. Possible reasons: network problems, allow_url_fopen is off, curl
> is not enabled in Install tool.
> 
> curlUse:
> Fatal error: Call to undefined function curl_init() in
> C:\web\x-htdocs\t3\trunk\t3lib\class.t3lib_div.php on line 2477
> 
> please have a look, would be not good to publish beta3 with no extension
> import.
> 
> related:
> http://bugs.typo3.org/view.php?id=7735
> 
> vg  Steffen

-- 
Use a newsreader! Check out
http://typo3.org/community/mailing-lists/use-a-news-reader/


More information about the TYPO3-team-core mailing list