mirror of
https://github.com/netblue30/firejail.git
synced 2026-05-21 06:45:29 -06:00
Support filenames with spaces in the blacklist option
This commit is contained in:
parent
85273ce7d1
commit
d81fc1424a
2 changed files with 1 additions and 2 deletions
|
|
@ -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
|
||||
|
|
|
|||
1
todo
1
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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue