projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
bad87a1
)
Avoid an infinite loop in mml-expand-html-into-multipart-related
author
dick
<dick.r.chiang@gmail.com>
Sun, 13 Jun 2021 13:02:11 +0000
(15:02 +0200)
committer
Lars Ingebrigtsen
<larsi@gnus.org>
Sun, 13 Jun 2021 13:02:27 +0000
(15:02 +0200)
* lisp/gnus/mml.el (mml-expand-html-into-multipart-related):
Skip images with empty filename parts (bug#49001).
lisp/gnus/mml.el
patch
|
blob
|
history
diff --git
a/lisp/gnus/mml.el
b/lisp/gnus/mml.el
index dcc9ea51dd24f705f33dacf6bb4e1cbbd44a3b31..5f35e73cd7c98b4a5b566156dc38ecd27a9d73e3 100644
(file)
--- a/
lisp/gnus/mml.el
+++ b/
lisp/gnus/mml.el
@@
-550,7
+550,7
@@
type detected."
(end (point))
(parsed (url-generic-parse-url (cdr (assq 'src (cadr img))))))
(when (and (null (url-type parsed))
-
(url-filename parsed
)
+
(not (zerop (length (url-filename parsed)))
)
(file-exists-p (url-filename parsed)))
(goto-char start)
(when (search-forward (url-filename parsed) end t)