Project

General

Profile

Actions

Bug #92750

closed

Error 404 'ID was outside the domain' for shortcut pointing to other site

Added by Georg Tiefenbrunn about 4 years ago. Updated about 2 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2020-11-02
Due date:
% Done:

100%

Estimated time:
TYPO3 Version:
10
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

1. Creat Website A [uid=1]
2. Create Website B [uid=2]
3. Create a shortcut inside B pointing to A [uid=3,pid=2,doktype=4,shortcut=1]
4. Open shortcut in FE > Page Not Found. The page did not exist or was inaccessible. Reason: ID was outside the domain

typo3/cms-frontend/shortcut-and-mountpoint-redirect is executed after typo3/cms-frontend/tsfe (TypoScriptFrontendInitialization::class).

https://github.com/TYPO3/TYPO3.CMS/blob/10.4/typo3/sysext/frontend/Classes/Middleware/TypoScriptFrontendInitialization.php#L96 will generate the 404 error for shortcuts pointing to other sites.


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #92859: Shortcut to ID with own Rootpage/Domain results in 404 (ID outside current Domain)Closed2020-11-17

Actions
Actions

Also available in: Atom PDF