diff options
author | Ernestas Kulik <ernestask@gnome.org> | 2017-09-02 12:30:51 +0300 |
---|---|---|
committer | Ernestas Kulik <ernestask@gnome.org> | 2018-02-18 10:29:03 +0200 |
commit | e4ee98d15846798ed5088e2d5a8a0024c622509c (patch) | |
tree | 5b8813ced5eff9838479f375c7a4dfbdb036edf1 | |
parent | 604c19951b0bfb8794fb645b0c3d4f385cf81014 (diff) | |
download | nautilus-e4ee98d15846798ed5088e2d5a8a0024c622509c.tar.gz |
file-operations: forbid more characters in FAT
‘\’ and ‘|’ aren’t allowed in both 8.3 and long file names.
https://bugzilla.gnome.org/show_bug.cgi?id=771364
-rw-r--r-- | src/nautilus-file-operations.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nautilus-file-operations.c b/src/nautilus-file-operations.c index 02dabf587..bab1d8e14 100644 --- a/src/nautilus-file-operations.c +++ b/src/nautilus-file-operations.c @@ -4025,7 +4025,7 @@ get_max_name_length (GFile *file_dir) return max_length; } -#define FAT_FORBIDDEN_CHARACTERS "/:;*?\"<>" +#define FAT_FORBIDDEN_CHARACTERS "/:;*?\"<>\\|" static gboolean fat_str_replace (char *str, |