diff --git a/libdino/src/service/file_manager.vala b/libdino/src/service/file_manager.vala index c23176e73..1fdfdf7f6 100644 --- a/libdino/src/service/file_manager.vala +++ b/libdino/src/service/file_manager.vala @@ -50,7 +50,7 @@ public class FileManager : StreamInteractionModule, Object { #if _WIN32 GLib.Regex regex = new GLib.Regex("[<>:\"/\\|?*]"); #else - GLib.Regex regex = new GLib.Regex("[/\\x{00}]"); + GLib.Regex regex = new GLib.Regex("[/]"); #endif return regex.replace(filename, -1, 0, "_"); }