diff --git a/Plugins/Flow.Launcher.Plugin.Explorer/Search/WindowsIndex/WindowsIndex.cs b/Plugins/Flow.Launcher.Plugin.Explorer/Search/WindowsIndex/WindowsIndex.cs index ecec7ebe997..6971475b4b4 100644 --- a/Plugins/Flow.Launcher.Plugin.Explorer/Search/WindowsIndex/WindowsIndex.cs +++ b/Plugins/Flow.Launcher.Plugin.Explorer/Search/WindowsIndex/WindowsIndex.cs @@ -56,7 +56,7 @@ private static async IAsyncEnumerable ExecuteWindowsIndexSearchAsy .GetString(1) .Replace("#", "%23", StringComparison.OrdinalIgnoreCase); - if (encodedFragmentPath == "file:") + if (string.Compare(encodedFragmentPath, "file:", StringComparison.OrdinalIgnoreCase) == 0) continue; var path = new Uri(encodedFragmentPath).LocalPath;