Bug with badwords filter, even if inactive

You think you've found a bug? Please report it here.

Moderators: Lapo, Bax

Post Reply
aMUSiC
Posts: 48
Joined: 15 Dec 2007, 17:15

Bug with badwords filter, even if inactive

Post by aMUSiC »

A very strange bug occurs with the bad words filtering mechanism in smartfox pro 1.5.5 (haven't tried 1.6 yet). Whenever i send a Public or Private message which includes at least one capital greek letter (in UTF8), the bad-words filter kicks in and issues an administrator warning message about profanity usage, even when I specifically disable the bad-words filter in config.xml. Additionally, the server will convert all letters to lowercase when passing them to the rest of the clients.

If I use all lowercase letters, the filter will not triger.

Capital greek letters in Unicode span from \\u0386 to \\u03ΑΒ

The filter will not trigger also if I use all capital English letters.
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Could you post the actual characters here? (hope the board supports it, it should) so we can copy/paste them around and test
Thanks
Lapo
--
gotoAndPlay()
...addicted to flash games
aMUSiC
Posts: 48
Joined: 15 Dec 2007, 17:15

Post by aMUSiC »

yes of course

Α Î’ Γ Δ Ε Ζ Η Θ Ι Κ Λ Μ Î
aMUSiC
Posts: 48
Joined: 15 Dec 2007, 17:15

Post by aMUSiC »

(switch browser's encoding to UTF-8 to see/copy the characters)
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

My browser doesn't have problems with Greek characters as you can see below:

Image

However I don't think I am seeing your characters correctly in your post.
This is what I see... is it correct?

Image

In case those characters are not the right ones, please send us a utf-8 text file with the problematic chars and we'll take a look asap.

Thanks
Lapo
--
gotoAndPlay()
...addicted to flash games
aMUSiC
Posts: 48
Joined: 15 Dec 2007, 17:15

Post by aMUSiC »

Lapo, the encoding on this site/forum is NOT UTF-8.. it's iso-8859-1 as the page source indicates
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
I forcibly-switched my browsers encoding to UTF-8 before posting these characters here. Then when I try to view the post the browser's encoding automatically switches back to 8859-1 and I see the same symbols that you have posted in the screenshot. Manually changing again my browser's encoding to UTF-8 reveals the correct greek characters.
aMUSiC
Posts: 48
Joined: 15 Dec 2007, 17:15

Post by aMUSiC »

Attempt of posting greek while in iso-8859-1 mode

Capital: Α Β Γ Δ Ε Ζ Η Θ Ι Κ Λ Μ Ν Ξ Ο Π Ρ Σ Τ Υ Φ Χ Ψ Ω / Ά Έ Ή Ί Ό Ώ Ύ Ϊ Ϋ
Lowercase: α β γ δ ε ζ η θ ι κ λ μ ν ξ ο π ρ σ τ υ φ χ ψ ω / ά έ ή ί ό ώ ς ύ ϊ ϋ ΐ ΰ
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Thanks. We have tested with versions 1.5, 1.5.9 and 1.6.0 and found that the problem exists only in version 1.5 so I recommend to upgrade to 1.5.9 or 1.6

http://www.smartfoxserver.com/products/ ... #downloads
Lapo
--
gotoAndPlay()
...addicted to flash games
Post Reply