Browse Source
Since the termux mailinglist has a + in the subscibe mail address, this is required.android-5
Oliver Schmidhauser
8 years ago
committed by
Fredrik Fornwall
2 changed files with 14 additions and 1 deletions
@ -0,0 +1,13 @@ |
|||
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'; |
Loading…
Reference in new issue