Project

General

Profile

Actions

Bug #88199

closed

Redirect endless Loop on root page

Added by Christian Ebert almost 5 years ago. Updated almost 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 #1

Updated by Christian Ebert almost 5 years ago

Typo: Must be The desired url structure for the homepage is: www.domain.de/de/

Actions #2

Updated by Riccardo De Contardi almost 5 years ago

I think this has been solved with #88171 (related: #88177)

Actions #3

Updated by Christian Ebert almost 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": {
    }
}

Actions #4

Updated by Christian Ebert almost 5 years ago

yes you are right. When I use symfony/routing 4.2.6 it works

Actions #5

Updated by Riccardo De Contardi almost 5 years ago

@Ebert no-lastname-given thank you for your quick reply; if you agree, I'll close your issue :)

Actions #6

Updated by Christian Ebert almost 5 years ago

yes. You can close it

Actions #7

Updated by Riccardo De Contardi almost 5 years ago

  • Status changed from New to Closed

Closed as agreed with the reporter.

Thank you.

Actions #8

Updated by Riccardo De Contardi almost 5 years ago

  • Related to Bug #88171: Latest symfony/routing release breaks Core added
Actions #9

Updated by Riccardo De Contardi almost 5 years ago

  • Related to Bug #88177: Upgrading symfony routing causes endless redirects added
Actions

Also available in: Atom PDF