[BUGFIX] Prevent endless loop in PageLinkBuilder
By re-using an already resolved page #99612 introduced an endless loop during HMENU/Sitemap rendering: An external page (doktype=3) with a simple query string like '?showModal=1' resolves to itself over and over where the current page is the correct target. Resolves: #100188 Releases: main Change-Id: If81b558125706bc17dd76adaf91dec4039427121 Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78140 Tested-by:Stefan Bürk <stefan@buerk.tech> Reviewed-by:
Benni Mack <benni@typo3.org> Reviewed-by:
Stefan Bürk <stefan@buerk.tech> Tested-by:
core-ci <typo3@b13.com> Tested-by:
Benni Mack <benni@typo3.org>
Showing
- typo3/sysext/frontend/Classes/Typolink/PageLinkBuilder.php 5 additions, 1 deletiontypo3/sysext/frontend/Classes/Typolink/PageLinkBuilder.php
- typo3/sysext/frontend/Tests/Functional/SiteHandling/Fixtures/SlugScenario.yaml 1 addition, 0 deletions.../Tests/Functional/SiteHandling/Fixtures/SlugScenario.yaml
- typo3/sysext/frontend/Tests/Functional/SiteHandling/SlugLinkGeneratorTest.php 1 addition, 0 deletions...d/Tests/Functional/SiteHandling/SlugLinkGeneratorTest.php
Please register or sign in to comment