• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

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

Brogan

XenForo moderator
Staff member
#1
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.
 

Elizabeth

Well-known member
#2
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.  
 

Brogan

XenForo moderator
Staff member
#3
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.
 

Mike

XenForo developer
Staff member
#5
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.
 

Brogan

XenForo moderator
Staff member
#6
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.
 

James

Well-known member
#7
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?
 

Brogan

XenForo moderator
Staff member
#11
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.
 

erich37

Well-known member
#12
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.
 

Paul M

Well-known member
#19
What would be nice in any censor system is an exceptions list - so you could censor c***, but add scunthorpe as an exception.