[BUGFIX] typolink prepends wrong domain when using url scheme
authorDmitry Dulepov <dmitry@typo3.org>
Thu, 17 Nov 2011 14:09:35 +0000 (16:09 +0200)
committerSteffen Ritter <info@rs-websystems.de>
Sun, 18 Dec 2011 10:18:59 +0000 (11:18 +0100)
commita4fbcc8423a2ac742a250b011007e834d7a9fc6d
treea50a942a87e0686678fabb81b1b539d1f189c603
parent231fd60c3e8d8fb7c1ee582dcd42835ff97272ef
[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: I1b7f1248f8b62bdaae0adeb114c29f42b146daa4
Resolves: #31771
Releases: 4.7, 4.6, 4.5
Reviewed-on: http://review.typo3.org/6708
Reviewed-by: Oliver Hader
Tested-by: Oliver Hader
Reviewed-by: Markus Klein
Reviewed-by: Dominik Mathern
Tested-by: Dominik Mathern
Reviewed-by: Steffen Ritter
Tested-by: Steffen Ritter
typo3/sysext/cms/tslib/class.tslib_content.php