https://bugzilla.wikimedia.org/show_bug.cgi?id=26332

Bawolff <bawolff...@gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |bawolff...@gmail.com
            Summary|Spam-blacklist does not     |Spam-blacklist does not
                   |handle Cyrillic domains     |support unicode characters
                   |                            |in regex, needed to filter
                   |                            |internationalized domain
                   |                            |names

--- Comment #1 from Bawolff <bawolff...@gmail.com> 2010-12-15 19:42:23 UTC ---
Presumably the SpamBlacklist extension needs to be modified to use the u flag
for the regexes it makes so it interprets them as UTF-8.

As a temporary work around, you can escape unicode characters using \xHH
(replace HH with hex codes). For example:

\bмакросъемка\.рф  becomes
\b\xD0\xBC\xD0\xB0\xD0\xBA\xD1\x80\xD0\xBE\xD1\x81\xD1\x8A\xD0\xB5\xD0\xBC\xD0\xBA\xD0\xB0\.\xD1\x80\xD1\x84

\bпример\.испытание becomes
\b\xD0\xBF\xD1\x80\xD0\xB8\xD0\xBC\xD0\xB5\xD1\x80\.\xD0\xB8\xD1\x81\xD0\xBF\xD1\x8B\xD1\x82\xD0\xB0\xD0\xBD\xD0\xB8\xD0\xB5

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
Wikibugs-l@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l

Reply via email to