Actions
Bug #90151
openContentObjectRenderer typoLink language link is generated witch /
Status:
New
Priority:
Should have
Assignee:
-
Category:
Site Handling, Site Sets & Routing
Target version:
-
Start date:
2020-01-19
Due date:
% Done:
0%
Estimated time:
TYPO3 Version:
11
PHP Version:
Tags:
Complexity:
Is Regression:
Sprint Focus:
Description
If you use the method typoLink of the class ContentObjectRenderer to generate an link of an root language page like /en or /de. It comse alle the time wich / at the end e.g. /en/ /de/.
If you configure in your site config e.g.
-
title: Englisch
enabled: true
base: /en
typo3Language: default
locale: en_GB.UTF-8
iso-639-1: en
websiteTitle: ''
navigationTitle: English
hreflang: en-GB
direction: ltr
fallbackType: strict
fallbacks: ''
flag: en-us-gb
languageId: '3'
you can call the site by /de and /de/ will be redirected to /de but the typoLink method still genarte an link /de/
Actions