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. Gerrit Code Review pushed patch set 1 for main to change 83044 status New Under Review 02/20/24, 12:53

  2. Gerrit Code Review pushed patch set 2 for main to change 83044 02/20/24, 13:03

  3. Gerrit Code Review pushed patch set 3 for main to change 83044 02/20/24, 15:15

  4. Gerrit Code Review pushed patch set 4 for main to change 83044 02/23/24, 13:56

  5. Gerrit Code Review pushed patch set 5 for main to change 83044 02/23/24, 13:56

  6. Gerrit Code Review pushed patch set 6 for main to change 83044 10/18/24, 13:22

  7. Gerrit Code Review pushed patch set 7 for main to change 83044 10/21/24, 05:44

  8. Gerrit Code Review pushed patch set 8 for main to change 83044 11/11/24, 19:03

  9. Gerrit Code Review pushed patch set 9 for main to change 83044 11/11/24, 19:06

  10. Gerrit Code Review pushed patch set 10 for main to change 83044 11/11/24, 19:20

  11. Gerrit Code Review pushed patch set 11 for main to change 83044 11/11/24, 19:33

  12. Gerrit Code Review pushed patch set 12 for main to change 83044 11/12/24, 06:29

  13. Gerrit Code Review pushed patch set 13 for main to change 83044 01/23/25, 09:49

  14. Gerrit Code Review pushed patch set 1 for 13.4 to change 88323 02/21/25, 22:43

  15. Anonymous commented and changed status Under Review Resolved done 0 % 100 % 02/21/25, 22:55

    Applied in changeset commit:f09b05b193e2c9db9fb1fbf15a1c19ed7b981b49.

  16. Benni Mack changed status Resolved Closed 12/02/25, 14:33