Re: [exim] From header with encoding not parsed?

Top Page
Delete this message
Reply to this message
Author: Martin D Kealey
Date:  
To: exim-users
Subject: Re: [exim] From header with encoding not parsed?
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.

One way to do that would be to treat encoded characters as if they were
quoted.

-Martin