Commit 55d7effb authored by dick's avatar dick Committed by Lars Ingebrigtsen
Browse files

Avoid an infinite loop in mml-expand-html-into-multipart-related

* lisp/gnus/mml.el (mml-expand-html-into-multipart-related):
Skip images with empty filename parts (bug#49001).
parent bad87a16
Pipeline #11075 failed with stages
in 183 minutes and 44 seconds
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment