Skip to content
This repository was archived by the owner on Jan 23, 2023. It is now read-only.

Commit f085313

Browse files
committed
Merge pull request #2423 from stephentoub/path_unix_additionalchars
Fix currently inconsequential Path bug on Unix
2 parents 5d1e2a6 + 9c5bb15 commit f085313

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/System.Runtime.Extensions/src/System/IO/Path.Unix.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ public static partial class Path
1616

1717
private static readonly char[] InvalidPathChars = { '\0' };
1818
private static readonly char[] InvalidFileNameChars = { '\0', '/' };
19-
private static readonly char[] InvalidPathCharsWithAdditionalChecks = InvalidFileNameChars; // no additional checks on Unix
19+
private static readonly char[] InvalidPathCharsWithAdditionalChecks = InvalidPathChars; // no additional checks on Unix
2020

2121
private static readonly int MaxPath = Interop.libc.MaxPath;
2222
private static readonly int MaxComponentLength = Interop.libc.MaxName;

0 commit comments

Comments
 (0)