Wordfilter & cyrillic

Issue #667 closed
Oleg created an issue

Description: wordfilter works bad with cyrillic Long Description: normalise function doesn't support UTF-8 characters(and that's ok). However hideMessageCheck and autoReportCheck forcefully normalise message, so always return false for cyrillic.

How to fix: 1. Make normalise support UTF-8 or 2. Make hideMessageCheck and autoReportCheck read hotel.wordfilter.enabled or 3. Allow curom normalises via plugin

Comments (4)

  1. Wesley repo owner

    Normalise works by removing the sign from the ASCII character. Cannot really touch it as its part of the Java API.

    Feel free to try to implement a better wordfilter and make a pull request.

  2. Log in to comment