[TYPO3-core] RFC: Bug 5602: spamProtectEmailAddresses_atSubst is not recognized correctly

Oliver Hader oh at inpublica.de
Thu May 31 08:14:53 CEST 2007


Hi Franz,

Franz Holzinger schrieb:
> Hello Oliver,
> some of your new code should be moved inside of the IF block:
> if
> ($GLOBALS['TSFE']->config['config']['spamProtectEmailAddresses_atSubst']) {
> 
> - Franz
>> Imagine a TypoScript like the following one and test it:
>>     config {
>>       spamProtectEmailAddresses = 2
>>       spamProtectEmailAddresses_atSubst = [at]
>>       spamProtectEmailAddresses_lastDotSubst = [dot]
>>     }
>>     10 = TEXT
>>     10.value = <b>john at doe.com</b>
>>     10.typolink.parameter = john at doe.com

The scenario before was the same (at-substitution outside the mentioned
IF statement). This means if only spamProtectEmailAddresses is set, the
"@" is replaced with "(at)" by default, even if the property
spamProtectEmailAddresses_atSubst is not set (you can test this with the
latest release of the 4.0.x branch).

Have a look to the TSref were this default value is also mentioned:
http://typo3.org/documentation/document-library/references/doc_core_tsref/4.1.0/view/7/3/


olly
-- 
Oliver Hader
http://inpublica.de/


More information about the TYPO3-team-core mailing list