Commit d815edf0 authored by Lars Magne Ingebrigtsen's avatar Lars Magne Ingebrigtsen Committed by Katsumi Yamaoka
Browse files

gnus-html.el (gnus-html-prefetch-images): Only prefetch http images to avoid...

gnus-html.el (gnus-html-prefetch-images): Only prefetch http images to avoid trying to snarf invalid stuff.
parent 1171414d
2010-10-21 Katsumi Yamaoka <yamaoka@jpl.org>
2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
 
* gnus-sum.el (gnus-summary-edit-article-done): Bind replace-result.
* gnus-html.el (gnus-html-prefetch-images): Only prefetch http images
to avoid trying to snarf invalid stuff.
 
2010-10-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
* gnus-sum.el (gnus-summary-edit-article-done): Bind free variable.
 
* gnus.el (gnus-message-archive-group): Quote value.
(gnus-message-archive-group): Mark as changed.
......
......@@ -493,7 +493,7 @@ This only works if the article in question is HTML."
(let ((blocked-images (with-current-buffer summary
(gnus-blocked-images))))
(save-match-data
(while (re-search-forward "<img[^>]+src=[\"']\\([^\"']+\\)" nil t)
(while (re-search-forward "<img[^>]+src=[\"']\\(http[^\"']+\\)" nil t)
(let ((url (gnus-html-encode-url (match-string 1))))
(unless (gnus-html-image-url-blocked-p url blocked-images)
(when (gnus-html-cache-expired url gnus-html-image-cache-ttl)
......
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