mirror of https://github.com/djcb/mu.git
mu4e-shr2text does not anymore retrieve images.
When HTML emails contain references to remote images, retrieving these images leaks informationo. For example, the sender can see when I openend the email and from which computer (IP address). For this reason, it is preferrable to not retrieve images.
This commit is contained in:
parent
8f9499c0c9
commit
ab9a7c3a6d
|
@ -46,7 +46,15 @@
|
|||
`mu4e-html2text-command' in a new enough emacs. Based on code by
|
||||
Titus von der Malsburg."
|
||||
(interactive)
|
||||
(let ((dom (libxml-parse-html-region (point-min) (point-max))))
|
||||
(let ((dom (libxml-parse-html-region (point-min) (point-max)))
|
||||
;; When HTML emails contain references to remote images,
|
||||
;; retrieving these images leaks information. For example,
|
||||
;; the sender can see when I openend the email and from which
|
||||
;; computer (IP address). For this reason, it is preferrable
|
||||
;; to not retrieve images.
|
||||
;; See this discussion on mu-discuss:
|
||||
;; https://groups.google.com/forum/#!topic/mu-discuss/gr1cwNNZnXo
|
||||
(shr-inhibit-images t))
|
||||
(erase-buffer)
|
||||
(shr-insert-document dom)
|
||||
(goto-char (point-min))))
|
||||
|
|
Loading…
Reference in New Issue