Missing a check in the Unix part of the code.
authorJeremy Kuhne <jeremy.kuhne@microsoft.com>
Thu, 19 May 2016 22:14:51 +0000 (15:14 -0700)
committerJeremy Kuhne <jeremy.kuhne@microsoft.com>
Thu, 19 May 2016 22:14:51 +0000 (15:14 -0700)
[tfs-changeset: 1606433]

src/mscorlib/src/System/Security/Permissions/FileIOPermission.cs

index a28f54f..b4d4141 100644 (file)
@@ -567,6 +567,7 @@ namespace System.Security.Permissions {
 
             for (int i = 0; i < str.Length; ++i)
             {
+                Path.CheckInvalidPathChars(str[i]);
             }
 #endif
         }