Project

General

Profile

Actions

Bug #17294

closed

spamProtectEmailAddresses_atSubst is not recognized correctly

Added by wini2 no-lastname-given about 17 years ago. Updated about 16 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Communication
Target version:
-
Start date:
2007-05-10
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.1
PHP Version:
4.3
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

after update from 4.0.6 spamProtectEmailAddresses_atSubst doesn't work anymore.

the solution suggestet in http://bugs.typo3.org/view.php?id=3985 won't work with 4.1.1.

(issue imported from #M5602)


Files

0005602.patch (1.66 KB) 0005602.patch Administrator Admin, 2007-05-12 11:35

Related issues 3 (0 open3 closed)

Related to TYPO3 Core - Bug #16436: spamProtectEmailAddresses_lastDotSubst breaks image linksClosedOliver Hader2006-08-06

Actions
Related to TYPO3 Core - Bug #18915: typolink changes a dot in an image filename also to ‚(dot)’ClosedChristian Kuhn2008-06-06

Actions
Related to TYPO3 Core - Bug #19828: spamProtectEmailAddresses_atSubst does not work correctly if linktext contains email address with uppercase charachtersClosedSteffen Kamper2009-01-14

Actions
Actions #1

Updated by Oliver Hader about 17 years ago

Could you please post the part of your TypoScript with the spamProtect...-things? Thanks in advance!

Actions #2

Updated by wini2 no-lastname-given about 17 years ago

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.

Actions #3

Updated by Oliver Hader about 17 years ago

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 "" won't be changed because the expected mail adresse to take care of is "".

10 = TEXT
10.value = write@mailto.org
10.typolink.parameter = john@doe.com
Actions #4

Updated by wini2 no-lastname-given about 17 years ago

thanks for your instant help. your patch works fine.

Actions #5

Updated by Helmut Hummel almost 17 years ago

Same Problem here, but the Patch is working well, thx for that!

Actions #6

Updated by Steffen Kamper almost 17 years ago

same problem with 4.1.1
thx for the patch - works perfect for me ;-)

Actions #7

Updated by Christian almost 17 years ago

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?

Actions #8

Updated by Oliver Hader almost 17 years ago

Christian, the function is called in class.tslib_content.php. Could you please post your CONFIG-Part of TypoScript? Thanks!

Actions #9

Updated by Christian almost 17 years ago

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?

Actions #10

Updated by Steffen Kamper almost 17 years ago

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.

Actions #11

Updated by Oliver Hader over 16 years ago

Committed to SVN:
  • TYPO3_4-1 (rev. 2785)
  • Trunk (rev. 2786)
Actions

Also available in: Atom PDF