Task #103159
openAllow transport_spool_filepath to be outside of project root
0%
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