[TYPO3-core] RFC #13903: Bug: Multiple domain records on one page + typolinkCheckRootline = wrong links

Tobias Liebig mail_typo3 at etobi.de
Mon May 10 17:06:36 CEST 2010


REMINDER #2


Am 01.05.10 12:09, schrieb Tobias Liebig:
> REMINDER.
> Anyones +1 needed
>
>
> Am 26.03.10 23:37, schrieb Tobias Liebig:
>> Hej,
>>
>> thanks for the patch and pointing on this issue.
>> As Ingmar and i did the fix for #9046 i felt like i should have a look
>> at this issue.
>>
>> i've tested your patch in several cases and conditions.
>>
>> +1 by reading and testing.
>>
>> attached you'll find a "minor cleaned up" patch.
>>
>> If anyone need help to reproduce the issue and/or build a test case,
>> just drop a note.
>>
>> regards
>> tobias
>>
>>
>> Irene Höppner wrote:
>>> Hi,
>>>
>>> This is an SVN patch request.
>>>
>>> Type: Bugfix
>>>
>>> Bugtracker references: http://bugs.typo3.org/view.php?id=13903
>>>
>>> Branches: TYPO3_4-3, trunk
>>>
>>> Problem:
>>> If you have more than one domain record on one page, use
>>> config.typolinkCheckRootline = 1 and call the website with another than
>>> the first domain in the list, all links will be generated as absolute
>>> links, prefixed with the first found domain.
>>> The reason: When typoLink() checks whether there is a domain record in
>>> the rootline of the targeted page, that matches the HTTP_HOST, it only
>>> compares the HTTP_HOST with the first found domain record on each page.
>>> This breaks all websites that have different functionalities based on
>>> different domains/hosts in version 4.3.
>>>
>>> Solution:
>>> Compare the HTTP_HOST with all found domain records, not only the first.
>>>
>>>
>>> Notes:
>>> I guess, this bug was introduced with the solution of #9046. For that
>>> reason I shortly tested the patch with a nested domain. But maybe
>>> somebody should have a closer look at that.
>>>
>>> Greets,
>>>
>>> Irene


More information about the TYPO3-team-core mailing list