diff --git a/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/VirtualFilePathHelper.cs b/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/VirtualFilePathHelper.cs index 45887cccfb..03f851a7e3 100644 --- a/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/VirtualFilePathHelper.cs +++ b/framework/src/Volo.Abp.VirtualFileSystem/Volo/Abp/VirtualFileSystem/VirtualFilePathHelper.cs @@ -10,7 +10,7 @@ namespace Volo.Abp.VirtualFileSystem public static string NormalizePath(string fullPath) { - if (fullPath == "/") + if (fullPath.Equals("/", StringComparison.Ordinal)) { return string.Empty; }