summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeremy Harris <jgh146exb@wizmail.org>2018-02-12 17:29:22 +0000
committerJeremy Harris <jgh146exb@wizmail.org>2018-02-12 17:29:22 +0000
commit6741531cf79cbd3b403b8a52ed07635fe543cd3a (patch)
treefc4c1a4f8d5e33aec7158c29cfa918784b7baf4d /src
parent4ff848b506be673df1a4bf3867ad42ee78573afe (diff)
ACL: Enforce non-usability of control=utf8_downconvert in MAIL ACL. Bug 2239
Diffstat (limited to 'src')
-rw-r--r--src/src/acl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/src/acl.c b/src/src/acl.c
index bc26e2d58..fb8b75bc7 100644
--- a/src/src/acl.c
+++ b/src/src/acl.c
@@ -523,7 +523,8 @@ static control_def controls_list[] = {
},
#ifdef SUPPORT_I18N
[CONTROL_UTF8_DOWNCONVERT] =
- { US"utf8_downconvert", TRUE, 0 }
+ { US"utf8_downconvert", TRUE, (unsigned) ~(ACL_BIT_RCPT | ACL_BIT_VRFY)
+ }
#endif
};