Skip to content
Snippets Groups Projects
Commit 23ff5c03 authored by Patrick Broens's avatar Patrick Broens Committed by Benni Mack
Browse files

[BUGFIX] Allow multiple mountpoints with the same slug

When having a multisite setup using the same slugs pointing to the same
or other different mounted pages, the PageSlugCandidateProvider will
always fetch the information of the first page found in the database
which complies with the slug. In some cases this will be the right page,
but in other cases will be a page which is not part of the requested
website. In the last case this will result in a 404.

This patch fixes this by checking if the slug is from the site being
called.

Resolves: #90469
Releases: master, 9.5
Change-Id: I333bfdfeb37ffa13b86697c4597cbda6e315b590
Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/63349


Tested-by: default avatarTYPO3com <noreply@typo3.com>
Tested-by: default avatarPatrick Broens <patrick@patrickbroens.nl>
Tested-by: default avatarDirk Koritnik <koritnik@werkraum-media.de>
Tested-by: default avatarBenni Mack <benni@typo3.org>
Reviewed-by: default avatarPatrick Broens <patrick@patrickbroens.nl>
Reviewed-by: default avatarSusanne Moog <look@susi.dev>
Reviewed-by: default avatarBenni Mack <benni@typo3.org>
parent 0346f6aa
Branches
Tags
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment