* mime-edit.el (mime-edit-decode-single-part-in-buffer): Limit the search
authoryamaoka <yamaoka>
Tue, 26 Jan 1999 09:02:08 +0000 (09:02 +0000)
committeryamaoka <yamaoka>
Tue, 26 Jan 1999 09:02:08 +0000 (09:02 +0000)
bound for the end of "Content-Transfer-Encoding" field.

ChangeLog
mime-edit.el

index 33bbeed..e3bcaba 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+1999-01-26  Katsumi Yamaoka   <yamaoka@jpl.org>
+
+       * mime-edit.el (mime-edit-decode-single-part-in-buffer): Limit the
+       search bound for the end of "Content-Transfer-Encoding" field.
+
 1999-01-26  MORIOKA Tomohiko  <morioka@jaist.ac.jp>
 
        * mime-play.el (mime-view-caesar): New implementation.
index a5be4fe..57c1de9 100644 (file)
@@ -2679,7 +2679,7 @@ Content-Type: message/partial; id=%s; number=%d; total=%d\n%s\n"
           "^Content-Transfer-Encoding:" limit t)
          (let ((beg (match-beginning 0))
                (hbeg (match-end 0))
-               (end (std11-field-end)))
+               (end (std11-field-end limit)))
            (setq encoding
                  (downcase
                   (eliminate-top-spaces