Review main Merged

96731[TASK] Process public files outside of storages as system resources

Benni Mack CR +2 V +2 Normal +216 −3 updated 10/15/26, 18:51

Commit message

An image referenced by a plain path to a public file that is not part
of any configured file storage, for example below typo3temp/assets/,
was rendered by indexing it in the virtual fallback storage (uid 0).
Every such file got a sys_file record, every processed variant a
sys_file_processedfile record.

Such paths are now resolved as public system resources and processed
without FAL persistence, the same way "EXT:" images are since #110702.
The new ImageSourceResolver::resolvePublicFileOutsideOfFileStorages()
is used by the Fluid image ViewHelpers, TypoScript imgResource and
imageLinkWrap, before FAL is asked. Paths within a configured storage
keep resolving to that storage. Only public paths of the project are
considered (by default typo3temp/assets/, uploads/ and _assets/), and
no hidden files.

This removes the last image rendering use of the fallback storage.
The changelog of #110702 is extended accordingly.

Review

  • Code review CR +2 Done
    • Benni Mack +2
    • Georg Ringer +1
    • Wouter Wolters +1
  • Verified V +2 Done
    • Benni Mack +2
    • Georg Ringer +1
    • Wouter Wolters +1
    • core-ci +1 CI

Issues 3

Files 6

Review log 68

  1. Benni Mack uploaded patch set 1 10/15/26, 16:49

  2. Benni Mack rebased onto patch set 2 10/15/26, 17:04

  3. core-ci voted on patch set 1 V +1 10/15/26, 17:05 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/111242

  4. core-ci voted on patch set 2 V +1 10/15/26, 17:26 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/111248

  5. Wouter Wolters voted on patch set 2 CR +1 V +1 10/15/26, 17:58

  6. Georg Ringer voted on patch set 2 CR +1 V +1 10/15/26, 18:51

  7. Benni Mack voted on patch set 2 CR +2 V +2 10/15/26, 18:51

  8. Benni Mack merged patch set 3 10/15/26, 18:51