From: Vsevolod Stakhov Date: Thu, 26 Dec 2013 15:26:45 +0000 (+0000) Subject: Fix escape symbols in hfilter. X-Git-Tag: 0.6.6~12 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=9c477a80e8437e20efe6ae29eb576be1173c55e7;p=thirdparty%2Frspamd.git Fix escape symbols in hfilter. --- diff --git a/conf/lua/hfilter.lua b/conf/lua/hfilter.lua index daf544745a..99895ef4a8 100644 --- a/conf/lua/hfilter.lua +++ b/conf/lua/hfilter.lua @@ -43,9 +43,9 @@ local checks_hello = { ['localhost$'] = 5, ['^(dsl)?(device|speedtouch)\\.lan$'] = 5, ['\\.(lan|local|home|localdomain|intra|in-addr.arpa|priv|online|user|veloxzon)$'] = 5, -['^\\[*127\.'] = 5, ['^\\[*10\\.'] = 5, ['^\\[*172\\.16\\.'] = 5, ['^\\[*192\\.168\\.'] = 5, +['^\\[*127\\.'] = 5, ['^\\[*10\\.'] = 5, ['^\\[*172\\.16\\.'] = 5, ['^\\[*192\\.168\\.'] = 5, --bareip -['^\[*\\d+[x.-]\\d+[x.-]\\d+[x.-]\\d+\\]*$'] = 5 +['^\\[*\\d+[x.-]\\d+[x.-]\\d+[x.-]\\d+\\]*$'] = 5 } --