Actions
Bug #78699
closedMethod forceAbsoluteUrl should not assume that protocol is http
Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2016-11-15
Due date:
% Done:
100%
Estimated time:
TYPO3 Version:
7
PHP Version:
Tags:
Complexity:
Is Regression:
No
Sprint Focus:
Description
When `forceAbsoluteUrl = 1` and scheme is not part of the URL then method forceAbsoluteUrl() assumes that protocol is http:
https://github.com/TYPO3/TYPO3.CMS/blob/master/typo3/sysext/frontend/Classes/ContentObject/ContentObjectRenderer.php#L6264
It should instead check TYPO3_SSL and set the scheme accordingly:
$urlParts['scheme'] = GeneralUtility::getIndpEnv('TYPO3_SSL') ? 'https' : 'http';
Actions