From d81fc1424aa77b20d1db82bafc600c566b1598b2 Mon Sep 17 00:00:00 2001 From: Peter Millerchip Date: Wed, 19 Aug 2015 00:12:42 +0100 Subject: Support filenames with spaces in the blacklist option --- src/firejail/profile.c | 2 +- todo | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/firejail/profile.c b/src/firejail/profile.c index 4aac2bdb4..39b0710cb 100644 --- a/src/firejail/profile.c +++ b/src/firejail/profile.c @@ -69,7 +69,7 @@ static void check_file_name(char *ptr, int lineno) { int len = strlen(ptr); // file globbing ('*') is allowed - if (strcspn(ptr, "\\&!?\"'<>%^(){}[];, ") != len) { + if (strcspn(ptr, "\\&!?\"'<>%^(){}[];,") != len) { if (lineno == 0) fprintf(stderr, "Error: \"%s\" is an invalid filename\n", ptr); else diff --git a/todo b/todo index 40dc92d6f..a26ced08a 100644 --- a/todo +++ b/todo @@ -1,3 +1,2 @@ 1. Deal with .purple directory. It holds the confiig files for pidgin -2. Support filenames with spaces in blacklist option. -- cgit v1.2.3-54-g00ecf