Review 14.3 Merged

97192[BUGFIX] Build mount point URLs regardless of mount page visibility

Oli Bartsch CR +2 V +2 Normal +67 −2 updated 10/28/26, 12:27

Commit message

PageRouter replaces the slug of the mounted page with the slug of
the mount point page to build a URL inside a mount point. Both pages
were fetched with the frontend group access check and the enable
fields applied. If one of them is access restricted, hidden or
outside its start and end time, its record is empty and its slug is
missing:

- the mounted page keeps its slug in the URL, for example
  /mount-point/mounted-page/subpage instead of /mount-point/subpage

- the mount point page drops the mount point prefix

Both URLs lead to a 404, while the correct URL resolves. This happens
for example when links to restricted pages are generated with
showAccessRestrictedPages or config.typolinkLinkAccessRestrictedPages,
or when the root page of a mounted tree is hidden.

Both pages are now fetched with getPage_noCheck(), as done when
mount point URLs are matched. Only slugs are read, so no restricted
content is exposed.

Review

  • Code review CR +2 Done
    • Oli Bartsch +2
  • Verified V +2 Done
    • Oli Bartsch +2
    • core-ci +1 CI

Issues 2

Files 2

Review log 34

  1. Oli Bartsch commented on patch set 1 10/28/26, 11:48

    Cherry Picked from branch main.
  2. core-ci voted on patch set 1 V +1 10/28/26, 11:57 Core CI is happy: https://git.typo3.org/typo3/CI/cms/-/pipelines/112706

  3. Oli Bartsch voted on patch set 1 CR +2 V +2 10/28/26, 12:27

  4. Oli Bartsch merged patch set 2 10/28/26, 12:27