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

Steffen Ritter info at rs-websystems.de
Sun Aug 30 14:34:47 CEST 2009


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.
> 
> 
Sounds good, I had problems with cross-domain-linking in the past, so

+1 by reading

but one question: how can i make use of it real life? there's no logic 
in the patch, just another "parameter". Who's gonna fill it, and where 
will the usage of it be located?



More information about the TYPO3-team-core mailing list