Bug #92859
closedShortcut to ID with own Rootpage/Domain results in 404 (ID outside current Domain)
100%
Description
I can confirm this very annoying bug also on TYPO3 v 9.5.22!
Seems to be related to this bug #92750 pointing out the same issue for TYPO3 v10!
Updated by Gabriel Kaufmann / Typoworx NewMedia about 4 years ago
- Related to Bug #92750: Error 404 'ID was outside the domain' for shortcut pointing to other site added
Updated by Gabriel Kaufmann / Typoworx NewMedia about 4 years ago
Okay I've fiddled around trying to find a workaround or bugfix on this.
Middleware 'typo3/cms-frontend/shortcut-and-mountpoint-redirect' (\TYPO3\CMS\Frontend\Middleware\ShortcutAndMountPointRedirect::class) depends on TSFE-Initialization, but logically it should be fired before TSFE because TSFE Handler will handle it as 404.
So I think the Middleware 'typo3/cms-frontend/shortcut-and-mountpoint-redirect' is not ment to handle this "problem", it's a cause somewhere in TSFE Middleware ('typo3/cms-frontend/prepare-tsfe-rendering') as before giving over to 404 Handler there should be checked if it is a Page of Doktype "Shortcut" with external URL.
Updated by Gabriel Kaufmann / Typoworx NewMedia about 4 years ago
Ok here is what i've figured out.
The whole thing is screwed because SiteFinder only works for ONE specific site. Every page which is out of site-scope (current Domain) seems to be ignored.
I think the whole problem is even before TSFE processing! I've been trying to hook in with own Middleware trying to reach the original request (which is currently only possible using $_SERVER) since the original Request is stored no-where. So I only can reach the 404-Request or the Request fallback'ed to Rootsite Pid.
I can't believe nobody thought about Shortcut's which could leave the current Domain.
Updated by Gerrit Code Review over 3 years ago
- Status changed from New to Under Review
Patch set 1 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/70432
Updated by Gerrit Code Review over 3 years ago
Patch set 2 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/70432
Updated by Gerrit Code Review about 3 years ago
Patch set 3 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/70432
Updated by Gerrit Code Review about 3 years ago
Patch set 4 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/70432
Updated by Gerrit Code Review about 3 years ago
Patch set 5 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/70432
Updated by Gerrit Code Review about 3 years ago
Patch set 6 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/70432
Updated by Gerrit Code Review almost 3 years ago
Patch set 7 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/70432
Updated by Gerrit Code Review almost 3 years ago
Patch set 8 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/70432
Updated by Gerrit Code Review almost 3 years ago
Patch set 9 for branch master of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/70432
Updated by Gerrit Code Review almost 3 years ago
Patch set 10 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/70432
Updated by Gerrit Code Review almost 3 years ago
Patch set 11 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/70432
Updated by Gerrit Code Review almost 3 years ago
Patch set 1 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72582
Updated by Benni Mack almost 3 years ago
- Status changed from Under Review to Resolved
- % Done changed from 0 to 100
Applied in changeset 0fe66dcc08b024be3ef09cfe2c4d8fb30e0a82cf.
Updated by Gerrit Code Review almost 3 years ago
- Status changed from Resolved to Under Review
Patch set 1 for branch main of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72630
Updated by Gerrit Code Review almost 3 years ago
Patch set 2 for branch 11.5 of project Packages/TYPO3.CMS has been pushed to the review server.
It is available at https://review.typo3.org/c/Packages/TYPO3.CMS/+/72582
Updated by Benjamin Franzke almost 3 years ago
- Status changed from Under Review to Resolved
Applied in changeset bb1bc7c85f9c3a669392a0031855fa1250365f1e.