]> source.dussan.org Git - rspamd.git/commit
Fix lua_util_is_utf_spoofed logic 1742/head
authorPaul Arthur <paul.arthur@flowerysong.com>
Sun, 9 Jul 2017 23:01:07 +0000 (23:01 +0000)
committerPaul Arthur <paul.arthur@flowerysong.com>
Sun, 9 Jul 2017 23:01:07 +0000 (23:01 +0000)
commit57802be8cdd3e9eef691bd5c0c1c42a489902b95
treedb60e35f5a8c5ccffce16141c425833763695d2f
parentdca6ede4d650e98240f8438b50484955afbedc3e
Fix lua_util_is_utf_spoofed logic

When compiled against libicu < 51 the list of allowed characters was
set to none, so all strings were flagged as spoofed.

Fixes #1689.
src/lua/lua_util.c