Bug #19881 ยป bug_10218.diff
typo3/sysext/cms/tslib/class.tslib_content.php (working copy) | ||
---|---|---|
$lastDotLabel = $lastDotLabel ? $lastDotLabel : '(dot)';
|
||
$spamProtectedMailAddress = preg_replace('/\.([^\.]+)$/', $lastDotLabel.'$1', $spamProtectedMailAddress);
|
||
}
|
||
$linktxt = str_ireplace($mailAddress, $spamProtectedMailAddress, $linktxt);
|
||
$linktxt = preg_replace('/'.$mailAddress.'/i', $spamProtectedMailAddress, $linktxt);
|
||
}
|
||
} else {
|
||
$mailToUrl = $GLOBALS['TSFE']->absRefPrefix.$GLOBALS['TSFE']->config['mainScript'].$initP.'&jumpurl='.rawurlencode($mailToUrl).$GLOBALS['TSFE']->getMethodUrlIdToken;
|