Advanced search  

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]

Pages: [1]   Go Down

Author Topic: Single Russian / Cyrillic words in word censor are not filtered $lang_bad_words  (Read 7115 times)

0 Members and 1 Guest are viewing this topic.

Makc666

  • Translator
  • Coppermine addict
  • **
  • Offline Offline
  • Gender: Male
  • Posts: 1614
  • Русский (ISO-8859-1) - Russian - Русский (Windows)
    • Makc's home page

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.


Code: [Select]
// 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*');
« Last Edit: March 09, 2007, 07:11:57 pm by Makc666 »
Logged
Pages: [1]   Go Up
 

Page created in 0.017 seconds with 19 queries.