]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Minor] Handle blank lines in mapstats maps
authorAlexander Moisseev <moiseev@mezonplus.ru>
Wed, 11 Feb 2026 06:41:23 +0000 (09:41 +0300)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Wed, 11 Feb 2026 09:06:19 +0000 (09:06 +0000)
commit862ab1631cd634bb1c3b6e9850a91ac590cedcaf
tree475298cb593f3b9f4b523926002b5b951919550a
parentadeed0e9ba8e508c9b8709b01e2d08480497e01c
[Minor] Handle blank lines in mapstats maps

Replace regex-based empty line detection with Lua pattern matching
to correctly identify and preserve blank lines instead of treating
them as syntax errors.
lualib/rspamadm/mapstats.lua