[TYPO3-core] RFC: #0011824: Links accross Domains not known by linkData and therefore also RealURL

Ernesto Baschny [cron IT] ernst at cron-it.de
Tue Sep 22 20:02:03 CEST 2009


Hi,

will that change require a new realurl version to be used? Does Dmitry
knows about this new feature?

Cheers,
Ernesto

Oliver Hader schrieb:
> FYI: Committed to SVN Trunk (rev. 5948)
> with my +1 on reading and testing
> 
> olly
> 
> 
> Daniel Pšötzinger schrieb:
>> Hi all,
>>
>> This is SVN patch request.
>>
>> Type: bugfix
>>
>> Branches: trunk
>>
>> BT reference: http://bugs.typo3.org/view.php?id=11824
>>
>> Problem:
>>
>> Curent link accross Domain handling is done in typolink. The domain is
>> attached to the url that linkData returns. Inside linkData there is no
>> knowledge that this domain is appended afterwards.
>>
>> So real_url (and others) rely on the domain specif configuration of
>> linkgenerations. Now they have no way to know that the link they are
>> going to generate is targeted to a diffrent domain. That causes:
>>  - wrong configuration is used and url is generated wrong
>>  - more critical: this might lead to wrong caching entries since the
>> rootpage id (used for caching the link that is under a diffrent domain)
>> is not correct.
>>
>>
>> Solution:
>> Just add the targetDomain as parameter to linkData - so that realurl has
>> a chance to react on it.


More information about the TYPO3-team-core mailing list