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
Updated by Gerrit Code Review 6 months ago
- Status changed from New to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/83044
Updated by Gerrit Code Review 6 months ago
Patch set 2 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/83044
Updated by Gerrit Code Review 6 months ago
Patch set 3 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/83044
Updated by Gerrit Code Review 6 months ago
Patch set 4 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/83044
Updated by Gerrit Code Review 6 months ago
Patch set 5 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/83044