Patch for busybox to accept = in emails
This commit is contained in:
parent
5413a8103c
commit
82b44b335c
@ -2,7 +2,7 @@ TERMUX_PKG_HOMEPAGE=https://busybox.net/
|
||||
TERMUX_PKG_DESCRIPTION="Tiny versions of many common UNIX utilities into a single small executable"
|
||||
TERMUX_PKG_ESSENTIAL=yes
|
||||
TERMUX_PKG_VERSION=1.27.1
|
||||
TERMUX_PKG_REVISION=1
|
||||
TERMUX_PKG_REVISION=2
|
||||
TERMUX_PKG_SHA256=c890ac53fb218eb4c6ad9ed3207a896783b142e6d306f292b8d9bec82af5f936
|
||||
TERMUX_PKG_SRCURL=https://busybox.net/downloads/busybox-${TERMUX_PKG_VERSION}.tar.bz2
|
||||
TERMUX_PKG_BUILD_IN_SRC=yes
|
||||
|
13
packages/busybox/sendmail.patch
Normal file
13
packages/busybox/sendmail.patch
Normal file
@ -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…
x
Reference in New Issue
Block a user