Bug #17294
closed
Could you please post the part of your TypoScript with the spamProtect...-things? Thanks in advance!
the two lines from the ts-setup worked well with 4.0.6
config.spamProtectEmailAddresses = 2
config.spamProtectEmailAddresses_atSubst = (at)
i also tried other numbers (from -10 to 10) - without success. it's likely that the problem lies with class.tslib_content.php. by replacing the file (in 4.1.1) with the one from version 4.0.6, the spamprotection works fine.
I guess you had a TypoScript like this:
10 = TEXT
10.value = [b]john@doe.com[/b]
10.typolink.parameter = john@doe.com
In this case (that the link text defined in 10.value is wrapped by something), the typolink wasn't rendered correctly. See the attached patch which should solve this problem.
Only the address used as link will be substitued, thus the following example doesn't work - the "write@mailto.org" won't be changed because the expected mail adresse to take care of is "john@doe.com".
10 = TEXT
10.value = write@mailto.org
10.typolink.parameter = john@doe.com
thanks for your instant help. your patch works fine.
Same Problem here, but the Patch is working well, thx for that!
same problem with 4.1.1
thx for the patch - works perfect for me ;-)
For me the patch does not work. I found out that the varible $mailAddress is empty if i do an echo $mailAddress. Which function calls this function?
Christian, the function is called in class.tslib_content.php. Could you please post your CONFIG-Part of TypoScript? Thanks!
Sorry but I can't reproduce it any more. Now I have the correct address in the variable. And every thing works. I changed nothing except that I manually added the patch to the file. I did a lot of echo output to find out why it does not work and suddenly it worked. I don't know what was happening possibly some sort of caching?
i wondered, because the patch reads the configuration and replace the address in the right way, so in my opinion there is no way to fail.
Committed to SVN:
- TYPO3_4-1 (rev. 2785)
- Trunk (rev. 2786)
Also available in: Atom
PDF