Bug #88199
closedRedirect endless Loop on root page
0%
Description
Observed in Typo3 9.5.5 composer install.
The desired url structure for the homepage is: www.domain/de/ .This currently results in an infinte redirection loop as soon as symfony/routing is version 4.2.x When downgrading to symfony/routing 4.1.12 everything works as expected. The cause seems to be Symfony\Component\Routing\Matcher\UrlMatcher::matchCollection which has been changed between 4.1 and 4.2. When I use 4.2 and do only replace that method everthing works as expected.
My site configuration is:
rootPageId: 1 base: 'http://www.domain.de/' baseVariants: - base: 'http://domain/' condition: 'applicationContext == "Development"' languages: - title: German enabled: true languageId: '0' base: /de/ typo3Language: de locale: de_DE.UTF-8 iso-639-1: de navigationTitle: '' hreflang: '' direction: '' flag: de errorHandling: { } routes: { }
Updated by Christian Ebert about 5 years ago
Typo: Must be The desired url structure for the homepage is: www.domain.de/de/
Updated by Riccardo De Contardi about 5 years ago
Updated by Christian Ebert about 5 years ago
my composer.json
{ "repositories": [ { "type": "composer", "url": "https://composer.typo3.org/" } ], "name": "typo3/cms-base-distribution", "description" : "TYPO3 CMS Base Distribution", "license": "GPL-2.0-or-later", "require": { "typo3/cms-about": "^9.5.5", "typo3/cms-adminpanel": "^9.5.5", "typo3/cms-backend": "^9.5.5", "typo3/cms-core": "^9.5.5", "typo3/cms-extbase": "^9.5.5", "typo3/cms-extensionmanager": "^9.5.5", "typo3/cms-filelist": "^9.5.5", "typo3/cms-fluid": "^9.5.5", "typo3/cms-frontend": "^9.5.5", "typo3/cms-install": "^9.5.5", "typo3/cms-recordlist": "^9.5.5", "typo3/cms-belog": "^9.5.5", "typo3/cms-beuser": "^9.5.5", "typo3/cms-felogin": "^9.5.5", "typo3/cms-fluid-styled-content": "^9.5.5", "typo3/cms-form": "^9.5.5", "typo3/cms-impexp": "^9.5.5", "typo3/cms-info": "^9.5.5", "typo3/cms-redirects": "^9.5.5", "typo3/cms-reports": "^9.5.5", "typo3/cms-rte-ckeditor": "^9.5.5", "typo3/cms-setup": "^9.5.5", "typo3/cms-seo": "^9.5.5", "typo3/cms-sys-note": "^9.5.5", "typo3/cms-t3editor": "^9.5.5", "typo3/cms-tstemplate": "^9.5.5", "typo3/cms-viewpage": "^9.5.5", "symfony/routing": "4.1.12", "helhum/typo3-console": "^5.5.5", "t3monitor/t3monitoring_client": "dev-master" }, "scripts":{ "typo3-cms-scripts": [ "typo3cms install:fixfolderstructure", "typo3cms install:generatepackagestates" ], "post-autoload-dump": [ "@typo3-cms-scripts" ] }, "extra": { "typo3/cms": { "web-dir": "public" }, "helhum/typo3-console": { "comment": "This option is not needed ay more for helhum/typo3-console 5.x", "install-extension-dummy": false } }, "autoload": { } }
Updated by Christian Ebert about 5 years ago
yes you are right. When I use symfony/routing 4.2.6 it works
Updated by Riccardo De Contardi about 5 years ago
@Ebert no-lastname-given thank you for your quick reply; if you agree, I'll close your issue :)
Updated by Riccardo De Contardi about 5 years ago
- Status changed from New to Closed
Closed as agreed with the reporter.
Thank you.
Updated by Riccardo De Contardi about 5 years ago
- Related to Bug #88171: Latest symfony/routing release breaks Core added
Updated by Riccardo De Contardi about 5 years ago
- Related to Bug #88177: Upgrading symfony routing causes endless redirects added