aboutsummaryrefslogtreecommitdiff
path: root/mailutils
diff options
context:
space:
mode:
authorDenys Vlasenko <vda.linux@googlemail.com>2017-02-12 21:57:22 +0100
committerDenys Vlasenko <vda.linux@googlemail.com>2017-02-12 21:57:22 +0100
commitc39ee047051fb36f4db907c037e22db586490f42 (patch)
tree5912f0f31523280310cced02728578df0b628dae /mailutils
parentaf316aabf248a14d581aec6c3df1b814a35619af (diff)
downloadbusybox-c39ee047051fb36f4db907c037e22db586490f42.tar.gz
sendmail: allow "+" symbol in recipient. Closes 9646
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'mailutils')
-rw-r--r--mailutils/sendmail.c2
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';