Project

General

Profile

Bug #24642 » 17118_RS_v1.patch

Administrator Admin, 2011-02-09 21:41

View differences:

typo3/sysext/cms/tslib/class.tslib_content.php (working copy)
$absoluteUrlScheme !== parse_url(t3lib_div::getIndpEnv('TYPO3_REQUEST_URL'), PHP_URL_SCHEME)) {
$targetDomain = $currentDomain;
}
// If go for an absolute link, add site_path if it's not taken care about by absRefPrefix
if (!$GLOBALS['TSFE']->config['config']['absRefPrefix'] && $targetDomain !== '') {
$targetDomain = $currentDomain . rtrim(t3lib_div::getIndpEnv('TYPO3_SITE_PATH'), '/');
}
}
// If target page has a different domain and the current domain's linking scheme (e.g. simulateStaticDocuments/RealURL/...) should not be used
(5-5/5)