X-Git-Url: https://diplodocus.org/git/nmh/blobdiff_plain/ce399941039778944bc5bc8d10c5f3603089af30..11e2fb2dbbc074cce78d62fdf425e6bbf1918949:/sbr/mf.c diff --git a/sbr/mf.c b/sbr/mf.c index 6adbba72..d99d2b38 100644 --- a/sbr/mf.c +++ b/sbr/mf.c @@ -230,6 +230,15 @@ getadrx (const char *addrs) break; } + /* + * Reject the address if key fields contain 8bit characters + */ + + if (contains8bit(mbox, NULL) || contains8bit(host, NULL) || + contains8bit(path, NULL) || contains8bit(grp, NULL)) { + strcpy(err, "Address contains 8-bit characters"); + } + if (err[0]) for (;;) { switch (last_lex) {