1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-19 18:13:55 +00:00

(rfc2047-encode-message-header): Don't encode non-address

headers as address headers (which breaks if subject has a single ").
This commit is contained in:
Stefan Monnier 2004-05-07 16:10:25 +00:00
parent e89e372698
commit 7daa20fca4
2 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2004-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
* rfc2047.el (rfc2047-encode-message-header): Don't encode non-address
headers as address headers (which breaks if subject has a single ").
2004-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
* nnimap.el (nnimap-demule): Avoid string-as-multibyte.

View File

@ -1,5 +1,5 @@
;;; rfc2047.el --- functions for encoding and decoding rfc2047 messages
;; Copyright (C) 1998, 1999, 2000, 2002, 2003 Free Software Foundation, Inc.
;; Copyright (C) 1998,1999,2000,02,03,2004 Free Software Foundation, Inc.
;; Author: Lars Magne Ingebrigtsen <larsi@gnus.org>
;; MORIOKA Tomohiko <morioka@jaist.ac.jp>
@ -169,7 +169,7 @@ Should be called narrowed to the head of the message."
((eq method 'address-mime)
(rfc2047-encode-region (point) (point-max)))
((eq method 'mime)
(let (rfc2047-encoding-type)
(let ((rfc2047-encoding-type method))
(rfc2047-encode-region (point) (point-max))))
((eq method 'default)
(if (and (featurep 'mule)