From 9a272fde43d024740f4a7dccb16e7ec721f4a7fb Mon Sep 17 00:00:00 2001 From: Oleksii Holub <1935960+Tyrrrz@users.noreply.github.com> Date: Mon, 29 Dec 2025 19:48:32 +0200 Subject: [PATCH] Update DiscordChatExporter.Core/Utils/Extensions/PathExtensions.cs Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com> --- DiscordChatExporter.Core/Utils/Extensions/PathExtensions.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/DiscordChatExporter.Core/Utils/Extensions/PathExtensions.cs b/DiscordChatExporter.Core/Utils/Extensions/PathExtensions.cs index d04ef4ba..4ae267fe 100644 --- a/DiscordChatExporter.Core/Utils/Extensions/PathExtensions.cs +++ b/DiscordChatExporter.Core/Utils/Extensions/PathExtensions.cs @@ -12,7 +12,7 @@ public static class PathExtensions // We use this instead of Path.GetInvalidFileNameChars() because that only returns OS-specific characters, // not filesystem-specific characters. This means that it's possible to use, for example, an NTFS drive on // Linux, which would allow the OS to create filenames with '?' but result in errors when writing to the filesystem. - // https://github.com/Tyrrrz/DiscordChatExporter/issues/1417 + // https://github.com/Tyrrrz/DiscordChatExporter/issues/1452 private static readonly char[] InvalidFileNameChars = [ '\0', // Null character - invalid on all filesystems