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-w32-c39ee047051fb36f4db907c037e22db586490f42.tar.gz busybox-w32-c39ee047051fb36f4db907c037e22db586490f42.tar.bz2 busybox-w32-c39ee047051fb36f4db907c037e22db586490f42.zip |
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) | |||
150 | trim(str); | 150 | trim(str); |
151 | s = str; | 151 | s = str; |
152 | while (*s) { | 152 | while (*s) { |
153 | if (!isalnum(*s) && !strchr("_-.@", *s)) { | 153 | if (!isalnum(*s) && !strchr("+_-.@", *s)) { |
154 | bb_error_msg("bad address '%s'", str); | 154 | bb_error_msg("bad address '%s'", str); |
155 | /* returning "": */ | 155 | /* returning "": */ |
156 | str[0] = '\0'; | 156 | str[0] = '\0'; |