Task #94084
closedMake module requests Sec-Fetch-Dest aware
100%
Description
This allows module URLs to automatically framed by the TYPO3
main controller whenever they are directly requested via the
browser address bar (Header: Sec-Fetch-Mode=document). See:
https://w3c.github.io/webappsec-fetch-metadata/#sec-fetch-mode-header
Note: This header already supported by Chrome and Firefox nightly,
Safari does not deliver this header yet.
Non supporting browsers can gracefully fallback to showing
the module contents without the TYPO3 main frame being added.
This fallback behaviour would only be triggered when a link is
opened in a new tab. Regular clicks can be intercepted and
directly dispatched via module-router/iframe, as before.
This allows to render the module menu with anchor tags
instead of buttons which lets users decide how and
where a module should be opened.