mirror of
https://github.com/sheumann/hush.git
synced 2025-01-06 05:32:54 +00:00
sendmail: allow "+" symbol in recipient. Closes 9646
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
This commit is contained in:
parent
af316aabf2
commit
c39ee04705
@ -150,7 +150,7 @@ static char *sane_address(char *str)
|
|||||||
trim(str);
|
trim(str);
|
||||||
s = str;
|
s = str;
|
||||||
while (*s) {
|
while (*s) {
|
||||||
if (!isalnum(*s) && !strchr("_-.@", *s)) {
|
if (!isalnum(*s) && !strchr("+_-.@", *s)) {
|
||||||
bb_error_msg("bad address '%s'", str);
|
bb_error_msg("bad address '%s'", str);
|
||||||
/* returning "": */
|
/* returning "": */
|
||||||
str[0] = '\0';
|
str[0] = '\0';
|
||||||
|
Loading…
Reference in New Issue
Block a user