Bug #16436
closedspamProtectEmailAddresses_lastDotSubst breaks image links
0%
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 = email@domain.com
}
}
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
Updated by Kirill Klimov almost 18 years ago
Problem still exists on trunk from today...
Updated by Kirill Klimov almost 18 years ago
Disregarding of your note "keyword:t3dd06" seems problem has not been touched at DD06...
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 = email@address.com
}
Also spamProtectEmailAddresses_atSubst is affected.
Updated by Oliver Hader almost 18 years ago
Please see and test the attached file 0003985.patch which should solve this problem.
Updated by Kirill Klimov almost 18 years ago
Yes, the patch fixes the problem - thank you very much,Oliver - please commit it to trunk.