Closed jimmylewis closed 5 months ago
The logic had a flaw that it didn't verify the directory separator after the directory portion. NormalizePath strips trailing slashes, so there will never be one. However, for IsUnderRootDirectory, there must be a separator in the path.
The logic had a flaw that it didn't verify the directory separator after the directory portion. NormalizePath strips trailing slashes, so there will never be one. However, for IsUnderRootDirectory, there must be a separator in the path.