diff options
author | 2012-07-11 22:16:45 +0000 | |
---|---|---|
committer | 2012-07-11 22:16:45 +0000 | |
commit | 613d4989b873321e6fc105919b3434e7a33abf63 (patch) | |
tree | ddc3239f6a6f51b9fe55de9e140c884cea468fba | |
parent | make -j# fix, I had this forever actually. (diff) | |
download | wireguard-openbsd-613d4989b873321e6fc105919b3434e7a33abf63.tar.xz wireguard-openbsd-613d4989b873321e6fc105919b3434e7a33abf63.zip |
enable back = char in address localpart, that is sometimes used by mailing lists.
ok gilles@ eric@
-rw-r--r-- | usr.sbin/smtpd/util.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/usr.sbin/smtpd/util.c b/usr.sbin/smtpd/util.c index d1f4a7138b9..e53a2d8d0f9 100644 --- a/usr.sbin/smtpd/util.c +++ b/usr.sbin/smtpd/util.c @@ -1,4 +1,4 @@ -/* $OpenBSD: util.c,v 1.64 2012/07/11 17:20:00 chl Exp $ */ +/* $OpenBSD: util.c,v 1.65 2012/07/11 22:16:45 chl Exp $ */ /* * Copyright (c) 2000,2001 Markus Friedl. All rights reserved. @@ -263,7 +263,7 @@ valid_localpart(const char *s) * RFC 5322 defines theses characters as valid: !#$%&'*+-/=?^_`{|}~ * some of them are potentially dangerous, and not so used after all. */ -#define IS_ATEXT(c) (isalnum((int)(c)) || strchr("%+-_", (c))) +#define IS_ATEXT(c) (isalnum((int)(c)) || strchr("%+-=_", (c))) nextatom: if (! IS_ATEXT(*s) || *s == '\0') return 0; |