7 references to PathUtils
Microsoft.Extensions.FileProviders.Physical (7)
PhysicalFileProvider.cs (6)
63Root = PathUtils.EnsureTrailingSlash(fullRoot); 162string root = PathUtils.EnsureTrailingSlash(Path.GetFullPath(Root)); 230if (PathUtils.PathNavigatesAboveRoot(path)) 265if (string.IsNullOrEmpty(subpath) || PathUtils.HasInvalidPathChars(subpath)) 310if (subpath == null || PathUtils.HasInvalidPathChars(subpath)) 357if (filter == null || PathUtils.HasInvalidFilterChars(filter))
PhysicalFilesWatcher.cs (1)
135if (Path.IsPathRooted(filter) || PathUtils.PathNavigatesAboveRoot(filter))