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

Daniel Pšötzinger nospam at nospam.de
Sun Aug 30 14:07:48 CEST 2009


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.


-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: patch_domaintolink.txt
Url: http://lists.netfielders.de/pipermail/typo3-team-core/attachments/20090830/e505fac9/attachment.txt 


More information about the TYPO3-team-core mailing list