summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDenys Vlasenko2017-02-12 21:57:22 +0100
committerDenys Vlasenko2017-02-12 21:57:22 +0100
commitc39ee047051fb36f4db907c037e22db586490f42 (patch)
tree5912f0f31523280310cced02728578df0b628dae
parentaf316aabf248a14d581aec6c3df1b814a35619af (diff)
downloadbusybox-c39ee047051fb36f4db907c037e22db586490f42.zip
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.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mailutils/sendmail.c b/mailutils/sendmail.c
index 8ddb782..b542099 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';