The first patch does some cleanup in the send email path. It puts mutt_env_to_intl() before the mutt_prepare_envelope(), like everywhere else in the codebase. This also plugs a theoretical issue where the Mail-Followup-To didn't come from an already IDNA encoded address, such as mutt_default_from().
The second one fixes a bug with gpg key lookups with intl domains. On a related note, Mutt's IDNA handling is quite basic right now. Parsed addresses are stored in IDNA format, and only converted to local when viewing or editing. I believe hooks, patterns, and regexps (e.g. subscribe/lists) need to be specified in IDNA to work. This is on my "future" list to look at. Kevin J. McCarthy (2): Rearrange and consolidate final encoding steps when sending. Convert pgp key lookups to use local mode addresses. crypt.c | 1 + send.c | 40 +++++++++++++++++++--------------------- 2 files changed, 20 insertions(+), 21 deletions(-) -- 2.54.0
