Issue Bug Closed

#92762Accessing a restricted subpage of a sysfolder triggers a 404 instead of 403

Rémy DANIEL 11/03/20, 19:06 updated 10/04/22, 14:12

Description

On TYPO3 9, accessing a restricted subpage of a sysfolder triggered a 403.
On TYPO3 10, a 404 is triggered.

This is a regression introduced in https://review.typo3.org/c/Packages/TYPO3.CMS/+/58829

How to reproduce

With the following page tree:

Rootpage
- page 1 (public, enabled)
- sysfolder 3 (enabled)
-- subpage 2 (restricted to authenticated users, enabled)

Without a frontend session, access the subpage 2 triggers a 404.

What should I see?

Without a frontend session, access the subpage B should trigger a 403.

Reviews 2