projects
/
oweals
/
busybox.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
af316aa
)
sendmail: allow "+" symbol in recipient. Closes 9646
author
Denys Vlasenko
<vda.linux@googlemail.com>
Sun, 12 Feb 2017 20:57:22 +0000
(21:57 +0100)
committer
Denys Vlasenko
<vda.linux@googlemail.com>
Sun, 12 Feb 2017 20:57:22 +0000
(21:57 +0100)
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
mailutils/sendmail.c
patch
|
blob
|
history
diff --git
a/mailutils/sendmail.c
b/mailutils/sendmail.c
index 8ddb7826bb15193cc7e2ff672005791b9a139d0e..b542099fd821f99e8d8cd56741b3550a1491ac77 100644
(file)
--- 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';