]> git.eshelyaron.com Git - emacs.git/commit
Match mail headers case-insensitively when encoding
authorRobert Pluim <rpluim@gmail.com>
Thu, 17 Apr 2025 14:08:53 +0000 (16:08 +0200)
committerEshel Yaron <me@eshelyaron.com>
Mon, 21 Apr 2025 20:33:54 +0000 (22:33 +0200)
commitf0031592fd48c4ad32419a3d88c661ccc82c943b
tree66f4a6405ddfe7af5a8d2f72e65c96899ea99972
parent8386950819207edc90eb2de222e3c666f6cdb614
Match mail headers case-insensitively when encoding

* lisp/mail/rfc2047.el (rfc2047-encode-message-header): Bind
'case-fold-search' to t when looking up the encoding method,
otherwise a header spelled "CC" is encoded using the wrong
method.  (Bug#77866)

(cherry picked from commit 7d886f214e165d84d3fdbe14b3766d9e88056529)
lisp/mail/rfc2047.el