Project

General

Profile

Actions

Bug #63486

closed

Typolink checks only against one domainname

Added by O. Kolbig almost 10 years ago. Updated over 6 years ago.

Status:
Closed
Priority:
Must have
Assignee:
-
Category:
-
Target version:
-
Start date:
2014-12-01
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
6.2
PHP Version:
5.3
Tags:
Complexity:
Is Regression:
No
Sprint Focus:

Description

Typolink now checks only against the cached domainrecord when comparing $currentDomain with $targetDomain. In version 4.5 typolinks checked against all domainrecords in rootline. This is a problem, because it is not possible to change the domain e.g. for changing language purposes. When changing domainname and set config.baseUrl to this domainname (over TS-Condition) there should be only relative links, but typolink now do not recognize, that the changed domainname is in rootline too, and generates absolute links to the first domainrecord.

This is made now in class TYPO3\CMS\Frontend\ContentObject\ContentObjectRenderer.php in line 6033 > $GLOBALS['TSFE']>getDomainNameForPid() and afterwards the comparing. Before (in v4.5) here was compared against domainname-array with all domainrecord in rootline (class.tslib_content.php, line 5794).


Related issues 1 (0 open1 closed)

Related to TYPO3 Core - Bug #71559: Page configured with multiple sys_domain records is not working correctlyClosed2015-11-13

Actions
Actions

Also available in: Atom PDF