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 #1

Updated by Gerrit Code Review about 11 years ago

  • Status changed from New to Under Review

Patch set 1 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18439

Actions #2

Updated by Gerrit Code Review about 11 years ago

Patch set 2 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18439

Actions #3

Updated by Gerrit Code Review about 11 years ago

Patch set 3 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18439

Actions #4

Updated by Gerrit Code Review about 11 years ago

Patch set 4 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18439

Actions #5

Updated by Gerrit Code Review about 11 years ago

Patch set 5 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18439

Actions #7

Updated by Gerrit Code Review about 11 years ago

Patch set 6 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18439

Actions #8

Updated by Gerrit Code Review about 11 years ago

Patch set 7 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18439

Actions #9

Updated by Gerrit Code Review about 11 years ago

Patch set 8 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18439

Actions #10

Updated by Gerrit Code Review about 11 years ago

Patch set 9 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18439

Actions #11

Updated by Gerrit Code Review almost 11 years ago

Patch set 10 for branch master has been pushed to the review server.
It is available at https://review.typo3.org/18439

Actions #12

Updated by Dmitry Dulepov over 10 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #13

Updated by Dmitry Dulepov over 10 years ago

  • Status changed from Resolved to Under Review
  • Assignee deleted (Dmitry Dulepov)
  • Target version changed from 6.1.0 to 6.2.0
  • TYPO3 Version changed from 6.1 to 6.2
  • Is Regression set to No

Not sure what the previous status means. I did not set it to resolved and it is still not resolved as of today: https://review.typo3.org/#/c/18439/

But I am giving up on this change because it takes too much time to go through reviews. Pick it up and continue if you wish. Or abandon.

Actions #14

Updated by Helmut Hummel almost 10 years ago

  • % Done changed from 100 to 50
Actions #15

Updated by Gerrit Code Review over 9 years ago

Patch set 12 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/18439

Actions #16

Updated by Gerrit Code Review over 9 years ago

Patch set 13 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/18439

Actions #17

Updated by Gerrit Code Review over 9 years ago

Patch set 14 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/18439

Actions #18

Updated by Gerrit Code Review over 9 years ago

Patch set 1 for branch TYPO3_6-2 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at http://review.typo3.org/34306

Actions #19

Updated by Dmitry Dulepov over 9 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 50 to 100
Actions #20

Updated by Riccardo De Contardi over 6 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF