Lähettäjä: Jeremy Harris Päiväys: Vastaanottaja: exim-users Aihe: Re: [exim] From header with encoding not parsed?
On 13/04/2023 23:24, Martin D Kealey via Exim-users wrote: > On Thu, 13 Apr 2023 at 19:36, Slavko <linux@???> wrote in
> exim-users@???:
>
>> Dňa 12. apríla 2023 16:50:29 UTC používateľ MRob via Exim-users <
>> exim-users@???> napísal:
>>> Hi, I have a variable to extract the email address in from header set
>> like this:
>>>
>>> ${lc:${address:$h_From:}}
>>
>> Header is valid, but after decoding it contains comma without
>> qoutes, the comma is address separator and thus results in
>> list of two "addresses", first without valid address, thus empty...
>>
>
> My take on this is that Exim is wrong there.
>
> Anywhere else, splitting addresses on commas happens before decoding, and
> this should be no different.
Uh, it's only a list if and when you use that string (the result of that expansion)
where a list is expected. And the list separator is also defined
by the context.