GNU bug report logs - #77866
30.0.50; message.el handling of non-ascii names in addresses

Previous Next

Package: emacs;

Reported by: Al Haji-Ali <abdo.haji.ali <at> gmail.com>

Date: Thu, 17 Apr 2025 13:01:04 UTC

Severity: normal

Tags: fixed

Found in version 30.0.50

Fixed in version 31.1

Done: Robert Pluim <rpluim <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


Message #28 received at control <at> debbugs.gnu.org (full text, mbox):

From: Robert Pluim <rpluim <at> gmail.com>
To: Eli Zaretskii <eliz <at> gnu.org>
Cc: abdo.haji.ali <at> gmail.com, 77866 <at> debbugs.gnu.org
Subject: Re: bug#77866: 30.0.50; message.el handling of non-ascii names in
 addresses
Date: Fri, 18 Apr 2025 17:15:23 +0200
tags 77866 fixed
close 77866 31.1
quit

>>>>> On Fri, 18 Apr 2025 14:31:56 +0300, Eli Zaretskii <eliz <at> gnu.org> said:

    >> Cc: 77866 <at> debbugs.gnu.org
    >> From: Robert Pluim <rpluim <at> gmail.com>
    >> Date: Fri, 18 Apr 2025 09:40:14 +0200
    >> 
    >> >>>>> On Thu, 17 Apr 2025 16:45:25 +0100, Al Haji-Ali <abdo.haji.ali <at> gmail.com> said:
    >> 
    Abdo> On 17/04/2025, Robert Pluim wrote:
    >> >> The root cause of this is that `mail-encode-encoded-word-buffer' is
    >> >> using the `mime' method to encode the value, instead of the
    >> >> `address-mime' method. Thatʼs because youʼve written the "Cc" header
    >> >> name as "CC", and the lookup for the method based on the header name
    >> >> is being done case-sensitively. Patch below fixes it for me (it also
    >> >> helps if you put a newline at the end of the string youʼre testing)
    >> 
    Abdo> Yep, can confirm your patch fixes the issue. Thanks!
    >> 
    >> Thanks for testing. Maintainers, since this bug has been around
    >> basically forever, I guess the fix goes to master, not the release
    >> branch?

    Eli> Yes, please.

Robert
-- 

Pushed to master.

7d886f214e1 2025-04-18T15:53:13+02:00 "Match mail headers case-insensitively when encoding"
https://git.savannah.gnu.org/cgit/emacs.git/commit/?id=7d886f214e165d84d3fdbe14b3766d9e88056529





This bug report was last modified 30 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.