mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-30 04:10:54 -08:00
Fix double-encoding attachment headers in single-part rfc2047
* lisp/mail/rfc2047.el (rfc2047-header-encoding-alist): Don't double-encode Content-Disposition in mails with no other body (bug#56906).
This commit is contained in:
parent
33611906e8
commit
f025005e86
1 changed files with 3 additions and 0 deletions
|
|
@ -45,6 +45,9 @@
|
|||
'(("Newsgroups" . nil)
|
||||
("Followup-To" . nil)
|
||||
("Message-ID" . nil)
|
||||
;; This header must be pre-encoded by the MTA, so avoid
|
||||
;; double-encoding it.
|
||||
("Content-Disposition" . default)
|
||||
("\\(Resent-\\)?\\(From\\|Cc\\|To\\|Bcc\\|\\(In-\\)?Reply-To\\|Sender\
|
||||
\\|Mail-Followup-To\\|Mail-Copies-To\\|Approved\\|Disposition-Notification-To\\)" . address-mime)
|
||||
(t . mime))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue