commit 280192c809088ebebd9908819d1a4811717353db
parent 942531cdadfb3fec0fc3bc9b88db801b6c312e3b
Author: Gaute Hope <eg@gaute.vetsj.com>
Date: Tue, 29 Oct 2013 09:22:48 +0100
security: link to wiki page on view-attachments
Diffstat:
2 files changed, 9 insertions(+), 1 deletion(-)
diff --git a/doc/FAQ.txt b/doc/FAQ.txt
@@ -112,4 +112,8 @@ P: When I run Sup remotely and view an HTML attachment, an existing
file, which it can't find (since it's on the remote machine). How do
I view HTML attachments in this environment?
S: Put this in your ~/.mailcap on the machine you run Sup on:
- text/html; /usr/bin/firefox -a sup '%s'; description=HTML Text; test=test -n "$DISPLAY"; nametemplate=%s.html
+ text/html; /usr/bin/firefox -a sup %s; description=HTML Text; test=test -n "$DISPLAY"; nametemplate=%s.html
+
+ Please read
+ https://github.com/sup-heliotrope/sup/wiki/Viewing-Attachments for
+ some security concerns on opening attachments.
diff --git a/doc/Hooks.txt b/doc/Hooks.txt
@@ -48,6 +48,10 @@ before-poll:
mime-decode:
+ ## Please read:
+ https://github.com/sup-heliotrope/sup/wiki/Viewing-Attachments for
+ some security concerns on opening attachments.
+
## turn text/html attachments into plain text, unless they are part
## of a multipart/alternative pair
require 'shellwords'