quoted-printable text. (Bug#5441)
2010-02-04 Glenn Morris <rgm@gnu.org>
+ * mail/rmail.el (rmail-show-message-1): Handle malformed
+ quoted-printable text. (Bug#5441)
+
* mail/mail-utils.el (mail-unquote-printable-region): Doc fix.
* simple.el (visual-line-mode): Capitalize lighter.
(insert-buffer-substring mbox-buf body-start end)
(cond
((string= character-coding "quoted-printable")
- (mail-unquote-printable-region (point-min) (point-max)
- nil nil 'unibyte))
+ ;; See bug#5441.
+ (or (mail-unquote-printable-region (point-min) (point-max)
+ nil t 'unibyte)
+ (message "Malformed MIME quoted-printable message")))
((and (string= character-coding "base64") is-text-message)
(base64-decode-region (point-min) (point-max)))
((eq character-coding 'uuencode)