[exim-dev] [Bug 2028] verify sender= unknown option in ACL c…

Top Page
Delete this message
Reply to this message
Author: admin
Date:  
To: exim-dev
Subject: [exim-dev] [Bug 2028] verify sender= unknown option in ACL condition
https://bugs.exim.org/show_bug.cgi?id=2028

--- Comment #1 from Jeremy Harris <jgh146exb@???> ---
Contrary to my initial guess, a slash is permissible in an unquoted local-part
(RFC 2822, 3.2.4 definition of "Atom"). We could try to make parsing of
"verify"
lines for options more clever but that would be complex and risky. Perhaps
we should just point out that there are issues with embedded '/' requiring that
they be protected from the list-of-options parsing, and provide a quoting
function (preferably one general for lists).

For now, use ${sg} to double any '/':

${sg{${address:$h_sender:}}{/}{//}}

--
You are receiving this mail because:
You are on the CC list for the bug.