diff options
| author | Katsumi Yamaoka | 2009-06-23 22:38:22 +0000 |
|---|---|---|
| committer | Katsumi Yamaoka | 2009-06-23 22:38:22 +0000 |
| commit | aa227ba554ffde6fe30915e2cc4c6945a86ea0e6 (patch) | |
| tree | 52197292593694b55c613e770fb25e5316284790 | |
| parent | 632c203070bc2e0dca076ef59c74b0d57c33707c (diff) | |
| download | emacs-aa227ba554ffde6fe30915e2cc4c6945a86ea0e6.tar.gz emacs-aa227ba554ffde6fe30915e2cc4c6945a86ea0e6.zip | |
(mm-dissect-buffer): Use message-fetch-field instead of mail-fetch-field to
fetch Content-Description header in order to exclude newlines.
| -rw-r--r-- | lisp/gnus/ChangeLog | 6 | ||||
| -rw-r--r-- | lisp/gnus/mm-decode.el | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/lisp/gnus/ChangeLog b/lisp/gnus/ChangeLog index f473f23d9bc..514648aa153 100644 --- a/lisp/gnus/ChangeLog +++ b/lisp/gnus/ChangeLog | |||
| @@ -1,3 +1,9 @@ | |||
| 1 | 2009-06-22 Katsumi Yamaoka <yamaoka@jpl.org> | ||
| 2 | |||
| 3 | * mm-decode.el (mm-dissect-buffer): Use message-fetch-field instead of | ||
| 4 | mail-fetch-field to fetch Content-Description header in order to | ||
| 5 | exclude newlines. | ||
| 6 | |||
| 1 | 2009-06-01 Katsumi Yamaoka <yamaoka@jpl.org> | 7 | 2009-06-01 Katsumi Yamaoka <yamaoka@jpl.org> |
| 2 | 8 | ||
| 3 | * gnus-art.el (gnus-mime-delete-part): Specify gnus-decoded as charset | 9 | * gnus-art.el (gnus-mime-delete-part): Specify gnus-decoded as charset |
diff --git a/lisp/gnus/mm-decode.el b/lisp/gnus/mm-decode.el index ead419e25ec..098f091cba7 100644 --- a/lisp/gnus/mm-decode.el +++ b/lisp/gnus/mm-decode.el | |||
| @@ -563,7 +563,9 @@ Postpone undisplaying of viewers for types in | |||
| 563 | ctl (and ct (mail-header-parse-content-type ct)) | 563 | ctl (and ct (mail-header-parse-content-type ct)) |
| 564 | cte (mail-fetch-field "content-transfer-encoding") | 564 | cte (mail-fetch-field "content-transfer-encoding") |
| 565 | cd (mail-fetch-field "content-disposition") | 565 | cd (mail-fetch-field "content-disposition") |
| 566 | description (mail-fetch-field "content-description") | 566 | ;; Newlines in description should be stripped so as |
| 567 | ;; not to break the MIME tag into two or more lines. | ||
| 568 | description (message-fetch-field "content-description") | ||
| 567 | id (mail-fetch-field "content-id")) | 569 | id (mail-fetch-field "content-id")) |
| 568 | (unless from | 570 | (unless from |
| 569 | (setq from (mail-fetch-field "from"))) | 571 | (setq from (mail-fetch-field "from"))) |