Closed (fixed)
Project:
Spam
Version:
6.x-1.2
Component:
URL Filter
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
28 Jun 2011 at 14:16 UTC
Updated:
24 Oct 2011 at 23:00 UTC
I tried to set up Spam to always mark a comment as spam if there is a URL then hold the comment for moderation. I changed the message to the user. It almost works. The problem is the URL filter requires the Bayesian filter then produces a score of only 40 in that mixture. I had to set the spam score to 40 to make Spam hold the comments.
I then tried changing the URL filter gain from 250 to 50 and that created a score of 70. This will fail when I switch on the duplicate filter.
Is there a way to immediately hold all comments containing URLs and bypass the scoring for those comments?
Comments
Comment #1
AlexisWilke commentedI use the custom filter for that purpose. You can enter a regular expression or simple text. For example, you could check for http://. In my case, I especially don't like the [url=...] since that's not supported in my Drupal sites. So I forbid all of those at once. With the custom filter you can bump the % directly to 99.
Thank you.
Alexis
Comment #2
AlexisWilke commentedNote that could work with a regular expression as well to catch more URLs such as \L+\.\L+ to catch something like domain.com
Thank you.
Alexis