Project

General

Profile

Actions

Task #103159

open

Allow transport_spool_filepath to be outside of project root

Added by Elias Häußler 9 months ago. Updated 9 days ago.

Status:
Under Review
Priority:
Should have
Assignee:
-
Category:
-
Target version:
-
Start date:
2024-02-20
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
13
PHP Version:
Tags:
Complexity:
Sprint Focus:

Description

At the moment the path configured in transport_spool_filepath is resolved with GU::getFileAbsFileName() which means it cannot be outside of the project root. Especially in release-based deployment systems, this makes it hard to configure a path which is available across several releases, e.g. some sort of shared directory.

If there's no valid reason why this path should be within the project root, I'd vote for loosing the path resolving part to allow absolute paths without further sanitization. If a path is configured with EXT: syntax or as relative path, path resolving may of course stay the same as with the current implementation using GU::getFileAbsFileName().

Ref: https://github.com/TYPO3/typo3/blob/v13.0.1/typo3/sysext/core/Classes/Mail/TransportFactory.php#L209

Actions

Also available in: Atom PDF