diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-02-12 21:57:22 +0100 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-02-12 21:57:22 +0100 |
commit | c39ee047051fb36f4db907c037e22db586490f42 (patch) | |
tree | 5912f0f31523280310cced02728578df0b628dae | |
parent | af316aabf248a14d581aec6c3df1b814a35619af (diff) | |
download | busybox-c39ee047051fb36f4db907c037e22db586490f42.tar.gz |
sendmail: allow "+" symbol in recipient. Closes 9646
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
-rw-r--r-- | mailutils/sendmail.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mailutils/sendmail.c b/mailutils/sendmail.c index 8ddb7826b..b542099fd 100644 --- a/mailutils/sendmail.c +++ b/mailutils/sendmail.c @@ -150,7 +150,7 @@ static char *sane_address(char *str) trim(str); s = str; while (*s) { - if (!isalnum(*s) && !strchr("_-.@", *s)) { + if (!isalnum(*s) && !strchr("+_-.@", *s)) { bb_error_msg("bad address '%s'", str); /* returning "": */ str[0] = '\0'; |