Issue Bug Closed

#88199Redirect endless Loop on root page

Christian Ebert 04/24/19, 20:59 updated 04/24/19, 22:12

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: {  }

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.