Project

General

Profile

Actions

Bug #53530

closed

ContentObjectRenderer still calls t3lib_div

Added by Francois Suter about 11 years ago. Updated about 7 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 #1

Updated by Gerrit Code Review about 11 years ago

  • Status changed from Accepted to Under Review

Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/25276

Actions #2

Updated by Francois Suter about 11 years ago

  • Status changed from Under Review to Resolved
  • % Done changed from 0 to 100
Actions #3

Updated by Riccardo De Contardi about 7 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF