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

Oliver Hader oliver at typo3.org
Wed Sep 16 21:42:08 CEST 2009


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.
-- 
Oliver Hader
TYPO3 Release Manager 4.3


More information about the TYPO3-team-core mailing list