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

Dan Osipov dosipov at phillyburbs.com
Sun Aug 30 14:55:02 CEST 2009


Is this the same issue as http://bugs.typo3.org/view.php?id=9455 ?

Dan Osipov
Calkins Media
http://danosipov.com/blog/

Daniel Pšötzinger wrote:
> 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