diff --git a/lib/toolbox/path.c b/lib/toolbox/path.c index 607671fb..767742ac 100644 --- a/lib/toolbox/path.c +++ b/lib/toolbox/path.c @@ -102,7 +102,7 @@ bool path_contains_only_ascii(const char* path) { } else if((*name_pos >= 'a') && (*name_pos <= 'z')) { name_pos++; continue; - } else if(strchr(".!#\\$%&'()-@^_`{}~", *name_pos) != NULL) { + } else if(strchr(" .!#\\$%&'()-@^_`{}~", *name_pos) != NULL) { name_pos++; continue; } @@ -111,4 +111,4 @@ bool path_contains_only_ascii(const char* path) { } return true; -} \ No newline at end of file +}