From: Alexey AL Date: Fri, 6 Mar 2015 13:59:58 +0000 (+0300) Subject: Hfilter: Fix FQDN check expression X-Git-Tag: 0.9.0~539^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=67f440bc13afd30cd547dccc5a0bd55d54f85720;p=rspamd.git Hfilter: Fix FQDN check expression --- diff --git a/conf/lua/hfilter.lua b/conf/lua/hfilter.lua index e81986826..a9ff41f09 100644 --- a/conf/lua/hfilter.lua +++ b/conf/lua/hfilter.lua @@ -143,7 +143,7 @@ local function split(str, delim, maxNb) end local function check_fqdn(domain) - if check_regexp(domain, '(?=^.{4,255}$)(^((?!-)[a-zA-Z0-9-]{1,63}(?