]> source.dussan.org Git - rspamd.git/commit
Fix lua_util_is_utf_spoofed logic
authorPaul Arthur <paul.arthur@flowerysong.com>
Sun, 9 Jul 2017 23:01:07 +0000 (23:01 +0000)
committerAndrew Lewis <nerf@judo.za.org>
Tue, 11 Jul 2017 09:16:42 +0000 (11:16 +0200)
commitcf44c3a877a2d2982dc36519cca10203bc6f41f2
treeabc834c901349c3738f38baa6cf72a5637fe7747
parentaba512c1a7623a0f909219fbe55740f56d992227
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