Issue Bug Closed

#53530ContentObjectRenderer still calls t3lib_div

Francois Suter 11/11/13, 18:48 updated 10/23/17, 21:45

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.

Reviews 1