Skip to content

Commit 916fb0e

Browse files
authored
Undo warning for paths with "/"
Remove forward slash from invalid folder path detection (previously added by 7fe67f0)
1 parent 0dd52b5 commit 916fb0e

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Main.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ private static bool _IsValidPath(string path)
5555
{
5656
int c = path[i];
5757

58-
if (c == '<' || c == '>' || c == '|' || c == '*' || c == '?' || c < 32 || c == '/')
58+
if (c == '<' || c == '>' || c == '|' || c == '*' || c == '?' || c < 32)
5959
return false;
6060
}
6161

@@ -324,4 +324,4 @@ public List<Result> Query(Query query)
324324
}).ToList();
325325
return GetMatchedResults(allResults, query.Search);
326326
}
327-
}
327+
}

0 commit comments

Comments
 (0)