base.m4: Quote the `auth=...' name, in case it has bad characters.
authorMark Wooding <mdw@distorted.org.uk>
Thu, 24 Mar 2016 11:03:18 +0000 (11:03 +0000)
committerMark Wooding <mdw@distorted.org.uk>
Thu, 24 Mar 2016 11:11:32 +0000 (11:11 +0000)
As a matter of local policy, user names don't in fact contain bad
characters, but it seems good to be careful anyway.

base.m4

diff --git a/base.m4 b/base.m4
index 5880582..eeb5fdb 100644 (file)
--- a/base.m4
+++ b/base.m4
@@ -73,7 +73,7 @@ received_header_text = Received: \
        ${if def:sender_address \
             {(envelope-from $sender_address\
              ${if def:authenticated_id \
-                  {; auth=$authenticated_id}})\n\t}}\
+                  {; auth=${quote_local_part:$authenticated_id}}})\n\t}}\
        id $message_exim_id\
        ${if def:received_for {\n\tfor $received_for}}