Project

General

Profile

Bug #19828 ยป bug_10143_spamprotectCaseInsensitive.patch

Administrator Admin, 2009-01-14 20:36

View differences:

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