I installed this on a test site running Drupal 4.7RC3. It shows up as expected in the list of filters, etc. However, I cannot detect any effect of this on the content. No addresses are converted/filtered as far as I can see.
| Comment | File | Size | Author |
|---|---|---|---|
| #15 | invisimail_regex.patch | 842 bytes | AmrMostafa |
| #12 | invisimail_module-2.patch | 712 bytes | sfarestam |
| #9 | invisimail_module.patch | 707 bytes | gtcaz |
Comments
Comment #1
jarea commentedTrack this issue
Comment #2
jjeff commentedYou are looking at the html source, correct? If everything works right, there shouldn't be any visual difference on the page.
Comment #3
jarea commentedUsing browser view source, I am seeing a plaintext email address not an encoded one.
Comment #4
pwolanin commentedI haven't tried this module recently- as above, viewing the source demonstrated that the e-mail address was not encoded.
Comment #5
gtcaz commentedI have many email addresses that are not being obfuscated or autolinked. I cannot determine a rational pattern as to why some are processed and others are not, although it is repeatable (non-random). Some emails are consistently not processed, while others (on the same page) are. I'm running the current CVS version of the 4.7 branch.
Comment #6
gtcaz commentedHere's a strange test case. I have Textile installed.
If I put Invisimail first in the filter ordering, only the 2jim address is processed. If I put Invisimail second (behind Textile), then only the 1jim1 and 3jim addresses are processed.
If I run Invisimail with only the line break converter (Invisimail -10, Line Break Converter 10), only the 2jim address is processed.
Comment #7
gtcaz commentedI'm going to try the regex from urlfilter in this module, or perhaps add an invisimail option to the urlfilter module.
Comment #8
gtcaz commentedComment #9
gtcaz commentedThe regex from urlfilter does indeed work. Perhaps email encoding could be a urlfilter option?
Comment #10
gtcaz commentedThere are still cases where the email isn't processed. The crazy thing is, it's working for me locally under XAMPP, but on my server some emails are not processed unless I add a space before them when they are at the beginning of a line. Another strange thing is sometimes I can add a single letter and the email will be processed. Take that letter out and the email isn't processed. I'm at a loss as to how to debug this.
Comment #11
gtcaz commentedI also have some email addresses that are failing under my remote server and XAMPP. Something about the block of text they're in.
Comment #12
sfarestam commentedI updated the regex in the previous patch to take into account the fact that
tags may contain style information etc.
Comment #13
ilfelice commentedYou may want to try to rearrange your filters so that "Encode email addresses" is processed first.
Go to administer > input formats, click on the Configure link of the input format that invisimail is being used with, and click on the "rearrange" tab.
Hope it helps.
Comment #14
gtcaz commentedI've tried it with all different orders (see my Post #6 above). Thanks.
Comment #15
AmrMostafa commentedWhy does the regex care about
and
I've stumbled into the same issue, created a patch and was gonna submit an issue but found this one, so may be it's better to post it here. Patch attached.
Comment #16
AmrMostafa commentedSorry didn't know HTML was enabled in comments. First line should read: Why does the regex care about
<p>and<li>?Comment #17
Crell commented4.7 is no longer supported. The 6.x-1.1 release has a new, more robust regex that should catch any reasonable case.