From 8160aa803846616f28d94519486d310a771f58bf Mon Sep 17 00:00:00 2001 From: Vsevolod Stakhov Date: Fri, 30 Mar 2018 14:27:14 +0100 Subject: [Test] Improve tokenization tests --- src/lua/lua_util.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/lua/lua_util.c') diff --git a/src/lua/lua_util.c b/src/lua/lua_util.c index 46f103f1a..64b25c14a 100644 --- a/src/lua/lua_util.c +++ b/src/lua/lua_util.c @@ -1007,6 +1007,7 @@ lua_util_tokenize_text (lua_State *L) ex = g_malloc0 (sizeof (*ex)); ex->pos = pos; ex->len = ex_len; + ex->type = RSPAMD_EXCEPTION_URL; exceptions = g_list_prepend (exceptions, ex); } } -- cgit v1.2.3