Page 1 of 1
spamfilter, case-insensivite match does not work
Posted: Sun Jul 02, 2006 11:00 pm
by core
Hi,
I,m using unreal version 3.2.5
Case-insensivite match with non-english characters (eq russian) does not work in spamfilter
for example:
/spamfilter + c kill 1d тест тест or /spamfilter + c kill 30d тест ^(i?)тест$
тест - matches
тЕст - not matches
ТЕст - not matches
ТЕСТ - not matches
Posted: Mon Jul 03, 2006 6:34 am
by Ron2K
http://bugs.unrealircd.org - go forth and report it.
Posted: Tue Jul 04, 2006 4:41 am
by Jason
Case mapping in unreal has always been US only. I believe it is documented in this way. Thats not a bug, iirc.
Posted: Tue Jul 04, 2006 6:08 am
by Ron2K
Just looked in the docs for it, but couldn't find it. (Looked at sections 3.14, 4.35 and the appendix on regular expressions. Must have missed something.) I will take your word for it though.
Posted: Tue Jul 04, 2006 4:25 pm
by Jason
I believe it is documented with charsets, not with spamfilter, as it affects the whole IRCd.
I am told however, that TRE decides what is A/a for spamfilters, and as such this problem isnt unrealircd's and cant be fixed by unrealircd.
EDIT:
From the charset section
NOTE 2: Casemapping (if a certain lowercase character belongs to an upper one) is done according to US-ASCII, this means that o" and O" are not recognized as 'the same character' and hence someone can have a nick with B"ar and someone else BA"r at the same time. This is a limitation of the current system and IRCd standards that cannot be solved anytime soon. People should be aware of this limitation. Note that this limitation has always also been applied to channels, in which nearly all characters were always permitted and US-ASCII casemapping was always performed.
Posted: Tue Jul 04, 2006 4:31 pm
by Ron2K
Just as I thought - I was looking in the wrong place. Thanks.