Closed (fixed)
Project:
SpamSpan filter
Version:
6.x-1.0
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Reporter:
Created:
9 Aug 2008 at 19:37 UTC
Updated:
11 Sep 2008 at 01:30 UTC
I am using a mailto link of the form <a href="mailto:xyz@example.com">Webmaster</a> in the footer of my webpage. With SpamSpan as the only input filter selected, the resulting HTML is <a href="mailto:xyz@example.com">xyz@example.com</a>. So not only is there no obfuscation but it is actually overwriting the text of the mailto link!
Comments
Comment #1
icouto commentedThis can also be observed even if using a wysiwyg editor like FCKEditor.
I can select some text, and using FCKEditor, turn it into a mailto hyperlink. The text displays fine inside FCKEditor, however, as soon as I save the changes, and preview the node, the mailto target has become the hyperlinked text!
Only solution I've found so far has been to disable SpamSpan, and rely solely on the - less-than-perfect - built-in email obfuscator of FCKEditor...
Any fixes or suggestions would be most welcome.
Comment #2
lakka commentedI am having trouble reproducing this. Please can someone tell me exactly what is the original text, what text appears in the source code after spamspan has been applied, and what text displays in the browser. If you can let me see an example page, that would be great.
Comment #3
lakka commentedActually, try release 6.x.1.1: http://drupal.org/node/305165 . This should work with mailto: tags. Please reopen this bug if not.
Comment #4
icouto commentedlakka: thank you very much for the fix. I had some time to test it today, and it is indeed working properly now. I can also report that it is working with FCKEditor as well. The latest versions of FKCEditor have email obfuscation 'built-in', but it only half-works: it obfuscates *only* the 'mailto' part of the link, but not the link text itself, if that is an email address. SpamSpan now complements that functionality really nicely. And if email obfuscation is turned off in FCKEditor, then SpamSpan just does its usual job!
Once again, many thanks.