Single Russian / Cyrillic words in word censor are not filtered $lang_bad_words Single Russian / Cyrillic words in word censor are not filtered $lang_bad_words
 

News:

cpg1.5.48 Security release - upgrade mandatory!
The Coppermine development team is releasing a security update for Coppermine in order to counter a recently discovered vulnerability. It is important that all users who run version cpg1.5.46 or older update to this latest version as soon as possible.
[more]

Main Menu

Single Russian / Cyrillic words in word censor are not filtered $lang_bad_words

Started by Makc666, March 09, 2007, 07:00:40 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Makc666

Sorry for using bad words :)

If I add word 'èäèîò' to russian.php and post comment with this word, like 'user is an èäèîò' then CPG will not filter it.

If I add word 'èäèî*' to russian.php and post comment with this word, like 'user is an èäèîò' then CPG will not filter it.

If I add word '*äèîò' to russian.php and post comment with this word, like 'user is an èäèîò' then CPG will not filter it.

If I add word '*èäèîò*' to russian.php and post comment with this word, like 'user is an èäèîò' then CPG will filter it as 'user is an (...)'.

If I add word '*äèî*' to russian.php and post comment with this word, like 'user is an èäèîò' then CPG will filter it as 'user is an è(...)ò'.

Of course single brackets '  ' is not used whem posting comments :)

With English words like 'Cock' or 'cum' there is no such problem.


// For the word censor
$lang_bad_words = array('èäèîò', '*ñóêà*', '*áëÿ*', '**beep**', 'asshole', 'assramer', 'bitch*', 'c0ck', 'clits', 'Cock', 'cum', '*beep**', 'dago', 'daygo', 'dego', 'dick*', 'dildo', 'fanculo', 'feces', 'foreskin', 'Fu\(*', 'fuk*', 'honkey', 'hore', 'injun', 'kike', 'lesbo', 'masturbat*', 'motherfucker', 'nazis', 'nigger*', 'nutsack', 'penis', 'phuck', 'poop', 'pussy', 'scrotum', 'shit', 'slut', 'titties', 'titty', 'twaty', 'wank*', 'whore', 'wop*');