[BUGFIX] Add RootPage to Slug Candidates 01/58901/3
authorAchim Fritz <af@achimfritz.de>
Thu, 15 Nov 2018 18:54:35 +0000 (19:54 +0100)
committerBenni Mack <benni@typo3.org>
Fri, 16 Nov 2018 09:57:55 +0000 (10:57 +0100)
commit206414c661c1e473812b355a098648a5dc93a340
treeb077b209e6ee7479ee79c16b2afb72063c3c69d5
parentcda6c030088a4160ed4446e76db37ce1a0f43f62
[BUGFIX] Add RootPage to Slug Candidates

The slug candidates resolving now takes "/" into account,
allowing to find the root page as well. This way, the PageRouter
applies Route Enhancers to the root page as well,
so segments like "/my-news-plugin/" also applies to
"/".

Resolves: #86939
Releases: master
Change-Id: I56015e1d5bf4a8e9e12c4ebcef8bdc95e1d5c8e2
Reviewed-on: https://review.typo3.org/58901
Tested-by: TYPO3com <no-reply@typo3.com>
Reviewed-by: Steffen Dietrich <Teilzeitphilosoph@gmx.de>
Tested-by: Steffen Dietrich <Teilzeitphilosoph@gmx.de>
Reviewed-by: Benni Mack <benni@typo3.org>
Tested-by: Benni Mack <benni@typo3.org>
typo3/sysext/core/Classes/Routing/PageRouter.php