TYPO3 v15 dev-main snapshot ()

This commit is contained in:
2026-08-10 22:31:09 +02:00
commit af8cc155b5
6818 changed files with 642608 additions and 0 deletions
@@ -0,0 +1,39 @@
.. include:: /Includes.rst.txt
.. _deprecation-85445:
==================================================
Deprecation: #85445 - TemplateService->getFileName
==================================================
See :issue:`85445`
Description
===========
The PHP method :php:`TYPO3\CMS\Core\TypoScript\TemplateService->getFileName()` has been marked as deprecated, as
it is technically extracted into separate functionality with modern architecture throwing PHP Exceptions when
a file name is invalid.
Along with the method the public property :php:`$fileCache` has been marked as deprecated, which acted as a simple first-level
in-memory cache.
Impact
======
Calling the method directly or accessing the public property will trigger a PHP :php:`E_USER_DEPRECATED` error.
Affected Installations
======================
Any TYPO3 installation dealing with PHP code in Frontend (e.g. `$TSFE->tmpl->getFileName()`).
Migration
=========
Use :php:`TYPO3\CMS\Frontend\Resource\FilePathSanitizer->sanitize($filePath)` instead.
.. index:: Frontend, PHP-API, FullyScanned