Language filter bug?

Language filter bug?

in Forum and Website Bugs

Posted by: Castor Zenith.2039

Castor Zenith.2039

If I understand correctly, the forum uses a language filter that turns naughty words into ‘kitten’. I think there’s a problem with the filter’s use of spacing though.

Based on some posts I’ve seen, the format used for filtering certain words (in this case let’s use the pretend naughty word ‘hat’) works like this:
’ hat ’ -> ‘kitten’

There’s spacing on one or both sides of the filtered word, but not on the same sides as the replacement word. I think the use of spacing in these filters is to prevent the word ‘assassinate’ from being filtered and so forth, which is great.

Problem is that with the current filtering scheme we’re seeing spaces removed:
‘…stop knocking you on your hat’ -> ‘…stop knocking you on yourkitten’

I’ve only seen this a few times, probably because I rarely see filtered language, but I think it may also be an error in only one or two filter cases. Upon testing using the preview function, I’m pretty sure it’s only one case which you can probably deduce from the quote above.

I know this is a trivial issue but I figured I’d mention it, hope this helps.