SA Bugzilla – Bug 8077
HashBL "number" options
Last modified: 2022-12-05 15:23:20 UTC
Created attachment 5859 [details] Num HashBL option In some cases, chars matched by check_hashbl_bodyre() are not clean and extraneous chars should be cleaned before sending the dns query. When trying to match phone numbers, for example, the check_hashbl_bodyre() match may be of the form "+1 (123) 456-7890", the attached diff will remove non numbers chars from the match.
I think if it's ok if we check that empty results don't create unnecessary lookups (just in case someone does bad regexps). push @matches, $match; --> push @matches, $match if $match ne '';
Created attachment 5860 [details] Num HashBL option Updated patch with hege@ suggestions.
I'm +1 on this and it should be safe for 4.0. That gives us 3 +1s.
Yes +1 for fast commit so we can get on with 4.0.0
Sending lib/Mail/SpamAssassin/Plugin/HashBL.pm Transmitting file data .done Committing transaction... Committed revision 1905766.