Review main Ready for review

98107[BUGFIX] Send Cache-Control for file dump of non-public storages

Kevin Meckl CR 0 V 0 Normal +45 −12 updated 11/27/26, 13:53

Commit message

Files of a non-public storage were sent without a Cache-Control
directive, so browsers cached them heuristically, also after
logout. Remove the obsolete IE8 workaround and send
"no-cache, no-store" for files of non-public storages, like
the other places in Core.

Test this change

Run a command in your clone of the TYPO3 Core. Then try what the change does and vote on Verified in Gerrit. How to review a patch

Check out patch set 2
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/07/98107/2 && git checkout FETCH_HEAD
Cherry-pick onto main
git fetch https://review.typo3.org/Packages/TYPO3.CMS refs/changes/07/98107/2 && git cherry-pick FETCH_HEAD

Review

  • Code review CR 0 Needs a vote
  • Verified V 0 Needs a vote
    • core-ci +1 CI

Merge conflicts 8

Issues 1

Files 5

Review log 57

  1. Kevin Meckl uploaded patch set 1 11/27/26, 13:01

  2. core-ci voted on patch set 1 V +1 11/27/26, 13:07 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115732

  3. Markus Klein commented on patch set 1 11/27/26, 13:35

  4. Markus Klein commented on patch set 1 11/27/26, 13:35

    FileDumpController.php:120 Reply

    Last question is obsolete of course. It's in that very patchset, my mistake
  5. Kevin Meckl uploaded patch set 2 V +1 11/27/26, 13:43

  6. Kevin Meckl commented on patch set 2 11/27/26, 13:45

    FileDumpController.php:120 Reply

    Thanks, aligned to "no-cache, no-store" like FileDownloadController and the other places. The frontend RequestHandler is left untouched here, it is a different case; I can open a separate issue if it should be aligned as well.
  7. core-ci voted on patch set 2 V +1 11/27/26, 13:53 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/115734