# HG changeset patch # User Carl Byington # Date 1405721333 25200 # Node ID 05b604c99e066e7f172f2205250adeeecd2e1822 # Parent d239e34df3c5acb705afd3d93532907b2f838e58 allow broken SRS0+ rather than the correct SRS0= tag diff -r d239e34df3c5 -r 05b604c99e06 src/dnsbl.cpp --- a/src/dnsbl.cpp Fri Jul 18 15:05:04 2014 -0700 +++ b/src/dnsbl.cpp Fri Jul 18 15:08:53 2014 -0700 @@ -1771,7 +1771,7 @@ extern char *optarg; // setup srs coding detection - if (regcomp(&srs_pattern, "^srs(0|1)(=|\+)([^=]+)=([^=]+)=([^=]+)=([^@]+)@", REG_ICASE | REG_EXTENDED)) { + if (regcomp(&srs_pattern, "^srs(0|1)(=|\\+)([^=]+)=([^=]+)=([^=]+)=([^@]+)@", REG_ICASE | REG_EXTENDED)) { printf("cannot compile regex pattern to find srs coding in mail addresses\n"); exit(3); }