# HG changeset patch # User Carl Byington # Date 1482282828 28800 # Node ID d68fda9be1c13d3cd9d8801b8671e40836250a50 # Parent c5b8971534eba9b7370208939daf30cde1b043b3 need to convert nl and tab to spaces in header values before regexec diff -r c5b8971534eb -r d68fda9be1c1 src/dnsbl.cpp --- a/src/dnsbl.cpp Tue Dec 20 16:59:40 2016 -0800 +++ b/src/dnsbl.cpp Tue Dec 20 17:13:48 2016 -0800 @@ -1463,6 +1463,13 @@ { mlfiPriv &priv = *MLFIPRIV; priv.header_count++; + char *value = headerv; + if ((priv.header_count < 4) || (strcasecmp(headerf, "from") == 0)) { + for (size_t i=0; i