[BUGFIX] Apply previous site identifier as fallback for URL resolving
Prior to #93240 URL routes were reverse sorted using the corresponding site identifier (which did not contain any URL information). For the scenario of matching undefined URLs (e.g. base URL is "/website/", but request was like "https://example.org/"), the first item of a reverse sorted list was used. Resolves: #99149 Related: #93240 Releases: main, 11.5 Change-Id: Ia242591cebfba7d8221494a5d214f6dca75a00fc Reviewed-on: https://review.typo3.org/c/Packages/TYPO3.CMS/+/78794 Tested-by:Oliver Hader <oliver.hader@typo3.org> Reviewed-by:
Oliver Hader <oliver.hader@typo3.org> Tested-by:
core-ci <typo3@b13.com>
Showing
- typo3/sysext/core/Classes/Routing/BestUrlMatcher.php 6 additions, 1 deletiontypo3/sysext/core/Classes/Routing/BestUrlMatcher.php
- typo3/sysext/core/Classes/Routing/MatchedRoute.php 7 additions, 0 deletionstypo3/sysext/core/Classes/Routing/MatchedRoute.php
- typo3/sysext/core/Tests/Unit/Routing/SiteMatcherTest.php 2 additions, 2 deletionstypo3/sysext/core/Tests/Unit/Routing/SiteMatcherTest.php
Please register or sign in to comment