]> source.dussan.org Git - rspamd.git/commitdiff
Fix escape symbols in hfilter.
authorVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 26 Dec 2013 15:26:45 +0000 (15:26 +0000)
committerVsevolod Stakhov <vsevolod@highsecure.ru>
Thu, 26 Dec 2013 15:26:45 +0000 (15:26 +0000)
conf/lua/hfilter.lua

index daf544745a0e02954ee319126ad36d36fefef095..99895ef4a87a89497ce70ecfd0eea790394ca7c8 100644 (file)
@@ -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
 }
 
 --