------- You are receiving this mail because: -------
You are on the CC list for the bug.
Summary: multi-valued attributes returned from an ldap lookup
parsing is hard
CC: exim-dev@???, jgh146exb@???
The ldap lookup code returns a multi-valued attribute as a list separated by
comma, space. This presents a problem when a value might contain that
The docs only say "separated by commas".
The problem is likely to exist on all platforms and OS'.
A suggested fix:
1) Double any comma in an attribute value as a means of quoting it.
Issue: this is an incompatible change at least for single-value
attributes, and for when users are already successfully parsing
2) Change the the list separator to be only the comma.
Issue: this is an incompatible change which will affect existing
parsing code (unless using exim's builtin list parsing).
Assumption: the space is mainly for human-readability.