Bug #25065
closedspam protection of emails could be configured to break
0%
Description
When using the following setup all emails will be protected. But the javascript is missing to decode the emailto link.
page {
spamProtectEmailAddresses = 2
spamProtectEmailAddresses_atSubst = (at)
removeDefaultJS = 1
}
To avoid non protected mail adresses, typo3 should force the ouput of the needed typoscript as inline js. MAybe with a hint above, that people who analyse their js will have a clue why it's there.
p.e.:
// this javascript is needed for spam protection
This happens also in Typo3 4.4, 4.3, 4.2 and trunk
(issue imported from #M17626)
Updated by Steffen Gebert almost 14 years ago
I tend to "won't fix". Before removing the JS, you should of course think of, what you are removing and make sure that you don't need it.
In fact, I did this on a site and extracted the JS to an external file manually. This wouldn't be possible, if removeDefaultJS would be simply ignored..
Updated by Steffen Gebert almost 14 years ago
In fact, IMHO it's good as it is and I'm against changing it.