summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorErnestas Kulik <ernestask@gnome.org>2017-09-02 12:30:51 +0300
committerErnestas Kulik <ernestask@gnome.org>2017-09-03 00:34:58 +0300
commitf4292a57f321a1727ee6a2bdf765f14524c464eb (patch)
tree05c46ca2e20cfcd68cf96d2450011551059c2e86 /src
parent4cd5df8aa7ca16182204bc7a2d1232dfd8af39d3 (diff)
downloadnautilus-f4292a57f321a1727ee6a2bdf765f14524c464eb.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
Diffstat (limited to 'src')
-rw-r--r--src/nautilus-file-operations.c2
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,