Issue Task Closed

#103159Allow transport_spool_filepath to be outside of project root

Elias Häußler 02/20/24, 12:38 updated 12/02/25, 14:33

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

Reviews 2

History 216

  1. Anonymous commented and changed status Under Review Resolved done 0 % 100 % <span data-processor="relativetime" data-value="2025-02-21T22:55:09+00:00" > 02/21/25, 22:55 </span>

    Applied in changeset commit:f09b05b193e2c9db9fb1fbf15a1c19ed7b981b49.