We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4f3b06b commit 429a6d0Copy full SHA for 429a6d0
GChan/Helpers/Utils.cs
@@ -25,7 +25,7 @@ internal class Utils
25
{
26
public const string PROGRAM_NAME = "GChan";
27
28
- public static readonly char[] IllegalSubjectCharacters = Path.GetInvalidPathChars();
+ public static readonly char[] IllegalSubjectCharacters = [..Path.GetInvalidPathChars(), '/', '\\'];
29
public static readonly char[] IllegalFilenameCharacters = Path.GetInvalidFileNameChars();
30
31
private static readonly ILogger logger = LogManager.GetCurrentClassLogger();
0 commit comments