Explorar o código

vm-file-editor: hide | in filename

Vincent Penquerc'h %!s(int64=10) %!d(string=hai) anos
pai
achega
214365e272
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      qubes-rpc/vm-file-editor.c

+ 1 - 1
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);