View Issue Details

IDProjectCategoryView StatusLast Update
0003727unrealircdpublic2008-08-28 16:14
Reporterkdevcf Assigned To 
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionno change required 
Product Version3.2.7 
Summary0003727: Spam filter error
DescriptionI've noticed some random spam filter issues that need addressing (in due time lol)

Steps To ReproduceFor this "particular" string spamfilter la.gg

Additional Information-
-Hub.coldfusions.net- [Spamfilter] Amy!I.He@<Ip.Masked.For.Client.Security>.ip.windstream.net matches filter '*la.gg*': [PRIVMSG #main: 'laughing'] [We apologize but this url has been used for offensive purposes.]
-
3rd party modules

Activities

kdevcf

2008-08-28 13:12

reporter   ~0015393

I also want to point out that this isint the only string that does it, there are a few others i cannot rememeber at this moment, basically its reading *la.gg* which is a domain obviously, as laughing from laughing its getting lagg. but the spamfilter wasent set up to parse the whole word, it was at the time set to find a string like this:

Whats up check out la.gg its a great site.

w00t

2008-08-28 13:14

reporter   ~0015394

I suggest you read up on how regex works.

'.' in regex means any character.
'*' in regex means zero or more of the previous character.

Therefore, the regex pattern '*la.gg*' will match 'laugh'.

Regex is not glob.

w00t

2008-08-28 13:15

reporter   ~0015395

That having been said, the ability to use glob matching filters instead of using regex all the time is one very useful idea which U3.3 should steal from inspircd. It's useful to newcomers.

kdevcf

2008-08-28 13:17

reporter   ~0015396

You know what, sadly i should know that it uses regex, Its just one of thoes days for me, but yes there u go there should be a FLAG stating that your using a regex match i suppose so problem solved. lol.

nate

2008-08-28 16:13

reporter   ~0015397

a 'Flag' to denote its regex? Anyone who either reads the /helpop info for it or the documentation itself (which should be obviously done before running Unreal) would know its regex. :P

Issue History

Date Modified Username Field Change
2008-08-28 13:09 kdevcf New Issue
2008-08-28 13:12 kdevcf Note Added: 0015393
2008-08-28 13:14 w00t Note Added: 0015394
2008-08-28 13:15 w00t Note Added: 0015395
2008-08-28 13:17 kdevcf Note Added: 0015396
2008-08-28 16:13 nate QA => No need for QA
2008-08-28 16:13 nate U4: Need for upstream patch => No need for upstream InspIRCd patch
2008-08-28 16:13 nate Status new => closed
2008-08-28 16:13 nate Note Added: 0015397
2008-08-28 16:14 nate Resolution open => no change required