Let's copy what the Core does: https://review.typo3.org/c/Packages/TYPO3.CMS/+/92388
Let's copy what the Core does:
https://review.typo3.org/c/Packages/TYPO3.CMS/+/92388