summaryrefslogtreecommitdiffstats
path: root/handler.c
diff options
context:
space:
mode:
authorThomas Roessler <roessler@does-not-exist.org>1999-02-10 22:01:46 +0000
committerThomas Roessler <roessler@does-not-exist.org>1999-02-10 22:01:46 +0000
commit55f7f3fd2c302fa1a5b3b377bd16cd5bba8d99d1 (patch)
treeff33ee11da456897cc4d54d9c0c294e3d9adb056 /handler.c
parent40aab0a8b99e842d3f9f0928f3fdb7305a944893 (diff)
Fix the security fix.
Diffstat (limited to 'handler.c')
-rw-r--r--handler.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/handler.c b/handler.c
index 6aecb8a1..89139eab 100644
--- a/handler.c
+++ b/handler.c
@@ -1072,7 +1072,7 @@ void autoview_handler (BODY *a, STATE *s)
rfc1524_mailcap_lookup (a, type, entry, M_AUTOVIEW);
fname = safe_strdup (a->filename);
- mutt_sanitize_filename (fname);
+ mutt_sanitize_filename (fname, 1);
rfc1524_expand_filename (entry->nametemplate, fname, tempfile, sizeof (tempfile));
FREE (&fname);