News:

Bored?  Looking to kill some time?  Want to chat with other SMF users?  Join us in IRC chat or Discord

Main Menu

Incorrect 'bad' words filtering?

Started by jindroush, May 27, 2004, 07:25:35 AM

Previous topic - Next topic

jindroush

Hi,

I added word 'f asterisk asterisk k' to the banned words list. I didn't know the asterisk would work as a wildcard.

When clicked on 10 recent messages link, this manipulated < img src=... > tag badly, so the smile was not visible.

BTW: Is there a way to have banned word with asterisk? Escaping with backslash doesn't help. Users sometimes write 'sh*t' or such and I want also such obfuscation to be caught (my forum is intended for all ages).

[Unknown]

I believe the \ works... like \*.  f\*\*k.

-[Unknown]

jindroush

Problem 1:
Not for me, for sure. Using beta5.

f\*ck matches f\*ck and f\*ack

but not f*ck

----
Problem 2:
when using censored word f**k and action=recent, some wink smiley displayed, the img gets incorrectly 'censored' (mangled) as following:
< img src="http://domain/CENSORED.gif" alt="Wink" border="0" / >

Original is:
http://domain/forum/Smileys/classic/wink.gif

Advertisement: