Project

General

Profile

Actions

Bug #16436

closed

spamProtectEmailAddresses_lastDotSubst breaks image links

Added by Kirill Klimov over 18 years ago. Updated over 17 years ago.

Status:
Closed
Priority:
Should have
Assignee:
Category:
Communication
Target version:
-
Start date:
2006-08-06
Due date:
% Done:

0%

Estimated time:
TYPO3 Version:
4.0
PHP Version:
4
Tags:
Complexity:
Is Regression:
Sprint Focus:

Description

If I build a link from an image with smth like this:

lib.test {
10 = IMAGE
10 {
file=fileadmin/images/icon_home.gif
stdWrap.typolink.parameter =
}
}

it works perfect until I add spamProtectEmailAddresses_lastDotSubst, for example:
config.spamProtectEmailAddresses_lastDotSubst = .<span style="display:none;">dont-want-spam</span>

Then this directive effect src URL of an image replacing last dot in it, so in FE I got smth like this:

<img src="fileadmin/images/icon_mail.<span style="display:none;">dont-want-spam</span>gif" width="11" height="10" alt="" title="" />

TYPO3 4.0.1
(issue imported from #M3985)


Files

0003985.patch (1.35 KB) 0003985.patch Administrator Admin, 2007-02-06 15:03

Related issues 2 (0 open2 closed)

Related to TYPO3 Core - Bug #17294: spamProtectEmailAddresses_atSubst is not recognized correctlyClosedOliver Hader2007-05-10

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

Actions
Actions #1

Updated by Sebastian Kurfuerst over 18 years ago

keyword:t3dd06

Actions #2

Updated by Kirill Klimov almost 18 years ago

Problem still exists on trunk from today...

Actions #3

Updated by Kirill Klimov almost 18 years ago

Disregarding of your note "keyword:t3dd06" seems problem has not been touched at DD06...

Actions #4

Updated by Oliver Hader almost 18 years ago

This error isn't only related to IMAGE.

This TS produces the same error:
10 = TEXT
10 {
value = some.text
typolink.parameter =
}

Also spamProtectEmailAddresses_atSubst is affected.

Actions #5

Updated by Oliver Hader almost 18 years ago

Please see and test the attached file 0003985.patch which should solve this problem.

Actions #6

Updated by Kirill Klimov almost 18 years ago

Yes, the patch fixes the problem - thank you very much,Oliver - please commit it to trunk.

Actions #7

Updated by Oliver Hader almost 18 years ago

Committed to SVN Trunk.

Actions

Also available in: Atom PDF