From 214365e27240f58774c826ac91c5412dafef77ad Mon Sep 17 00:00:00 2001 From: Vincent Penquerc'h Date: Sun, 29 Dec 2013 07:33:39 -0500 Subject: [PATCH] vm-file-editor: hide | in filename --- qubes-rpc/vm-file-editor.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/qubes-rpc/vm-file-editor.c b/qubes-rpc/vm-file-editor.c index fe077c7..333d572 100644 --- a/qubes-rpc/vm-file-editor.c +++ b/qubes-rpc/vm-file-editor.c @@ -35,7 +35,7 @@ char *get_filename() } for (i=0; buf[i]!=0; i++) { // replace some characters with _ (eg mimeopen have problems with some of them) - if (index(" !?\"#$%^&*()[]<>;`~", buf[i])) + if (index(" !?\"#$%^&*()[]<>;`~|", buf[i])) buf[i]='_'; } snprintf(retname, sizeof(retname), "/tmp/%s", buf);