]> git.ipfire.org Git - thirdparty/rspamd.git/commit
[Refactor] Simplify configuration by removing use_*_map flags
authorVsevolod Stakhov <vsevolod@rspamd.com>
Fri, 14 Nov 2025 13:56:39 +0000 (13:56 +0000)
committerVsevolod Stakhov <vsevolod@rspamd.com>
Fri, 14 Nov 2025 13:56:39 +0000 (13:56 +0000)
commita5398bfe7a84a2eaac5e0ef88f67e1f7d6b75957
tree3490e15670b69bd7a2ba96c3c5e4387a894ff3e7
parent494cce2adcca4792d285d7fb7ef7a39725935e2d
[Refactor] Simplify configuration by removing use_*_map flags

- Removed all use_pattern_map, use_range_map, use_tld_map, etc. flags
- Maps are now implicitly enabled if configured (not nil)
- Cleaner configuration: just uncomment the map parameter to enable
- Updated init_maps() to check map existence instead of enable flags
- Updated check functions to use maps if configured
- Simpler, more intuitive configuration approach
conf/modules.d/url_suspect.conf
src/plugins/lua/url_suspect.lua