Not a bug  Problem with swear filter masking part of longer words

Paul B

XenForo moderator
Staff member
I wrote <s n i g g e r> in another thread but without the spaces and it was filtered; e.g. <snigger>

Now I fully understand why that word is in the swear filter but if it's going to catch out longer words which utlise part of the forbidden word then that's a problem.

I presume the famous town on the east coast of the UK is also going to be filtered then ; Scunthorpe.

Indeed it is.
 
That's part of the problem with a swear filter. IT'S not human and can not tell when a word is not a swear word . A lot of innocent words get caught.  
 
I think it's just how the swear filter is configured.
If wildcards are used then it will catch everything.

I can post both of the masked words on my forum with no problem but the forbidden words are still caught.
 
That particular word is setup to be masked where ever it occurs, even as a substring. That allows it to catch other forms of it, but yes it does mean it can catch some false positives. It's not really a bug (and the censor is empty by default), but it's down to how we want to configure things here.
 
Thanks Mike.
I thought that might be the case so thanks for confirming it.

It should be easy then to configure exact words so longer strings are allowed.

I have to say, configuring the swear filter is one of my least favourite tasks but it's something that needs to be done sadly.
 
I take it we can configure it to allow longer words that contain the characters without actually having to manually write exceptions?

Test to see if BBCode bypasses the filter: Scuntorphe. Is there no workaround for this yet?
 
Whilst it's true that people who are determined to bypass the swear filter will do so, we don't want to be filtering normal words as that will just cause confusion and then force people to be creative to be able to post words such as s n i g g e r.
 
is it possible to exclude certain words from the swear-filter ?
I would like to have a certain swear-word being allowed to use for my website.
 
What would be nice in any censor system is an exceptions list - so you could censor c***, but add scunthorpe as an exception.
 
Back
Top Bottom