Skip to content
Snippets Groups Projects
Commit 9d13e010 authored by Dmitry Dulepov's avatar Dmitry Dulepov Committed by Helmut Hummel
Browse files

[BUGFIX] GeneralUtility::getUrl() fails to process redirects sometimes

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
with extensions that fetch pages of the site and hit redirects. For
example, if the site uses http and parts of it use https, extensions
like "pagepath" or "solr" will not be able to work with "secondary"
protocol.

Change-Id: I2d9e50d2d00e4c8b0c930a929be7884fd0215c21
Resolves: #45741
Releases: 6.2, master
Reviewed-on: http://review.typo3.org/18439


Reviewed-by: default avatarXavier Perseguers <xavier@typo3.org>
Tested-by: default avatarXavier Perseguers <xavier@typo3.org>
Tested-by: default avatarHelmut Hummel <helmut.hummel@typo3.org>
Reviewed-by: default avatarHelmut Hummel <helmut.hummel@typo3.org>
parent aa118521
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment