Skip to content

Commit 4941f34

Browse files
committed
fix explorer crash on square brackets
1 parent 1b69d27 commit 4941f34

File tree

1 file changed

+1
-1
lines changed
  • Plugins/Flow.Launcher.Plugin.Explorer/Search/WindowsIndex

1 file changed

+1
-1
lines changed

Plugins/Flow.Launcher.Plugin.Explorer/Search/WindowsIndex/IndexSearch.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ internal static class IndexSearch
1717
{
1818

1919
// Reserved keywords in oleDB
20-
private const string reservedStringPattern = @"^[`\@\#\^,\&\/\\\$\%_;]+$";
20+
private const string reservedStringPattern = @"^[`\@\#\^,\&\/\\\$\%_;\[\]]+$";
2121

2222
internal static async Task<List<Result>> ExecuteWindowsIndexSearchAsync(string indexQueryString, string connectionString, Query query, CancellationToken token)
2323
{

0 commit comments

Comments
 (0)