scoring filter question
Joakim Crafack
Joakim.Crafack@tdcinternet.dk
Tue Aug 5 13:22:40 CEST 2003
Hi.
Some user complained, that we were missing a lot of articles in amny
newsgroups, and sent me some message-ids.
For example:
Message-ID: <xlBXa.28573$M54.20133@fe11.atl2.webusenet.com>
Subject: Alias 2x15 "A Free Agent" <SD-6/SVCD> <Read NFO+0> 04 of 67 - yEnc
"alias.2x15.svcd.sd-6.rar" (40/40)
This article got caught by the scoring part of cleanfeed.
While trying to find out why, I stumbled across this piece of code:
if ($config{aggressive}) {
...
local $_ = $lch{subject};
tr/a-z0-9 //cd;
...
$score += 3 if /$site_desc.{0,20}site/o;
...
As far as I can see, this will assign the above mentioned article +3 points.
Just for the use of the word Free.
IMO, shouldn't it read like this:
$score += 3 if /($site_desc).{0,20}site/o;
???
/Joakim Crafack
More information about the cleaners
mailing list