Project

General

Profile

Actions

Bug #53530

closed

ContentObjectRenderer still calls t3lib_div

Added by Francois Suter over 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Category:
Backend API
Target version:
Start date:
2013-11-11
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
no-brainer
Is Regression:
No
Sprint Focus:

Description

As surprising as it may seem, class ContentObjectRenderer still calls on t3lib_div in one place.

This happens when evaluating the "forceAbsoluteUrl" property. If no scheme is defined, ContentObjectRenderer tries to assess whether to use "http" or "http" by calling:

t3lib_div::getIndpEnv('TYPO3_SSL')

This must be replaced with a call to GeneralUtility.

Actions

Also available in: Atom PDF