[exim] ${local_part:<string>} not unquoting

Page principale
Supprimer ce message
Répondre à ce message
Auteur: Lutz Preßler
Date:  
À: exim-users
Sujet: [exim] ${local_part:<string>} not unquoting
Hello,

if one accesses the $local_part variable, the result is maybe
lower cased but unquoted if quoting was necessary/used in the
address. Therefor it is necessary to use ${quote_local_part:...}
if a new address is to be constructed from $local_part.

${local_part:<string>} is _not_ removing quoting.

" ${local_part:<string>}

    The string is interpreted as an RFC 2822 address and the local part is
    extracted from it. If the string does not parse successfully, the result is
    empty.
" does not mention quoting, but as an "RFC 2822 address" may include
quoting, I would expect it to be removed here if neccessary, especially as
there is no unquote operator.


Shall I enter a bug report?

Lutz

-- 
Lutz Preßler  <Lutz.Pressler@???>    http://www.SerNet.DE/
SerNet Service Network GmbH, Bahnhofsallee 1b, D-37081 Göttingen
Tel.: +49-551-370000-2,      FAX: +49-551-370000-9
AG Göttingen, HRB 2816,      GF: Dr. Johannes Loxen