#45741GeneralUtility::getUrl() fails to process redirects sometimes
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.