The annoying limit on blacklists is that they only match against the  
body of the comment, not the url or email address.  I get a lot of  
blog spam that is using the url to generate some blog mana by linking  
off mine.  Would be great if the blacklist worked on the url field  
too.  Yes, it's an easy patch to make (I think) but I'm not running  
trunk yet so I'm not set up to do it myself just now.

--
Josh Susser
http://blog.hasmanythrough.com

On May 9, 2006, at 6:57 AM, Gary Shewan wrote:

> (I really should put something like this on the wiki as well)
>
> How many actually use the Blacklist page in admin?  I'd sort of left
> it alone because I knew it uses the black art of regex.  But I've had
> a little look at it today and it does use string expressions as well.
>
> So if you are seeing spammy comments along the usual lines of 'poker'
> or 'pills' ... hmm that's probably going to get trapped in peoples
> filters ... anyway, you can create a new pattern and just put the
> term you want blocked in the body of the post.  As long as you set
> the type to string.  You can see it working in logs:
>
> [SP] Scanning for StringPattern poker
> [SP] Hit: String 'poker' matched
>
> Comments matching any patterns will not be posted.
>
> Be aware though there isn't any form of moderation on this ... so if
> your friends are wanting to organise a poker night then you won't
> hear about it on your site :)

_______________________________________________
Typo-list mailing list
[email protected]
http://rubyforge.org/mailman/listinfo/typo-list

Reply via email to