Deprecation: #97866 - Various public TSFE properties

See forge#97866

Description

The following properties within TypoScriptFrontendController have been deprecated:

  • spamProtectEmailAddresses

  • intTarget

  • extTarget

  • fileTarget

  • baseUrl

All of these properties can be accessed through TypoScript's config array.

Impact

Accessing these properties via TypoScript getData or via PHP will trigger a PHP deprecation notice.

Affected installations

TYPO3 installations with TypoScript options such as .data = TSFE:fileTarget or TYPO3 installations with third-party extensions accessing the properties via PHP.

Migration

Migrate the access to these properties to use the config property:

In TypoScript you can access the TypoScript properties directly via .data = TSFE:config|config|fileTarget and in PHP code via $GLOBALS['TSFE']->config['config']['fileTarget'].