Project

General

Profile

Actions

Bug #88199

closed

Redirect endless Loop on root page

Added by Christian Ebert about 5 years ago. Updated about 5 years ago.

Status:
Closed
Priority:
Should have
Assignee:
-
Category:
Link Handling, Site Handling & Routing
Target version:
-
Start date:
2019-04-24
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
9
PHP Version:
7.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

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


Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #88171: Latest symfony/routing release breaks CoreClosed2019-04-18

Actions
Related to TYPO3 Core - Bug #88177: Upgrading symfony routing causes endless redirectsClosed2019-04-19

Actions
Actions

Also available in: Atom PDF