Project

General

Profile

Actions

Bug #45741

closed

GeneralUtility::getUrl() fails to process redirects sometimes

Added by Dmitry Dulepov about 11 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Backend API
Target version:
Start date:
2013-02-22
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
medium
Is Regression:
No
Sprint Focus:

Description

If PHP's open_basedir is active, CURLOPT_FOLLOWLOCATION will be disabled by PHP. In such case any redirects will not work. This causes problems, for example, with Solr extension, which uses this function to fetch pages. It will not be able to index parts of the site (for example, if some parts of the site use https).

getUrl should detect this issue and follow redirects manually.


Files

26-2-2013_21-16-52.png (37.5 KB) 26-2-2013_21-16-52.png Wouter Wolters, 2013-02-26 21:19

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #17479: Alert in FE: "...CURLOPT_FOLLOWLOCATION cannot be activated when in safe_mode or an open_basedir..."ClosedMartin Kutschker2007-07-17

Actions
Has duplicate TYPO3 Core - Bug #58823: 4.5 t3lib_div::getUrl() till 6.2 \TYPO3\CMS\Core\Utility\GeneralUtility::getUrl() with open_basedir and CURLOPT_FOLLOWLOCATIONClosed2014-05-15

Actions
Actions

Also available in: Atom PDF