From bcc3cd247bb5bdad559ec33d348a6ccefa55bf80 Mon Sep 17 00:00:00 2001 From: Ken Hornstein Date: Mon, 1 Jul 2013 15:07:16 -0400 Subject: [PATCH] Add warnings about the use of %(decode) on addresses. --- etc/replcomps | 2 ++ etc/replgroupcomps | 3 +++ 2 files changed, 5 insertions(+) diff --git a/etc/replcomps b/etc/replcomps index 68ca84bb..cf361095 100644 --- a/etc/replcomps +++ b/etc/replcomps @@ -7,6 +7,8 @@ %; %; These next lines slurp in lots of addresses for To: and cc:. %; Use with repl -query or else you may get flooded with addresses! +%; Currently %(decode) should NOT be used on address fields, in case invalid +%; characters are in an address. %; %; If no To:/cc:/Fcc: text, we output empty fields for prompter to fill in. %; diff --git a/etc/replgroupcomps b/etc/replgroupcomps index c0a18670..5127988a 100644 --- a/etc/replgroupcomps +++ b/etc/replgroupcomps @@ -20,6 +20,9 @@ %; cc (and) %; personal address %; +%; Note that addresses should not have %(decode) run on them in case invalid +%; characters are in the address field. +%; %(void(localmbox))%(void(width))%(putaddr From: ) %(lit)%(formataddr{mail-followup-to})\ %<(nonnull)%(void(width))%(putaddr To: )\n\ -- 2.56.0