[BUGFIX] typolink prepends wrong domain when using url scheme
authorDmitry Dulepov <dmitry@typo3.org>
Thu, 17 Nov 2011 16:03:43 +0000 (18:03 +0200)
committerOliver Hader <oliver@typo3.org>
Tue, 24 Jan 2012 09:25:38 +0000 (10:25 +0100)
commit80c03a05e8239c45df95a55a86b4d20362f0da8a
treea9839cf41c8676a2e604ff2ad69d329c30fae71a
parent2edfa730fb583227f0c836093259e7458d441515
[BUGFIX] typolink prepends wrong domain when using url scheme

tslib_cObj::typoLink() uses a wrong domain if the target page
has a domain record and a URL scheme, which is different to
current. It prepends a current domain instead of the target
domain of the page.

Change-Id: Iedf2ade4707f41f10a1989b753cb5fc0dcf978a1
Resolves: #31771
Releases: 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/6710
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
typo3/sysext/cms/tslib/class.tslib_content.php