[exim-dev] [Bug 2726] New: $recipients cannot be parsed when…

Page principale
Supprimer ce message
Répondre à ce message
Auteur: admin
Date:  
À: exim-dev
Sujet: [exim-dev] [Bug 2726] New: $recipients cannot be parsed when the local part contains ", "
https://bugs.exim.org/show_bug.cgi?id=2726

            Bug ID: 2726
           Summary: $recipients cannot be parsed when the local part
                    contains ", "
           Product: Exim
           Version: 4.94
          Hardware: x86
                OS: Linux
            Status: NEW
          Severity: bug
          Priority: medium
         Component: ACLs
          Assignee: jgh146exb@???
          Reporter: bugzilla.exim.simon@???
                CC: exim-dev@???


It is valid for the local part to contain ", " (quoted) but this is the
separator used for $recipients. That makes it impossible to extract those
addresses from $recipients.

There is an example in the documentation for the forany{} expansion that is
unsafe in this scenario.

If all commas in the addresses were doubled then the variable could be used
with ${listextract}.

This may be a problem for backwards compatibility but addresses with commas in
will already cause problems if parsed as a comma-separated list. Only
${extract{<number>}{<separators>}...} can handle ", " as a separator.

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