Skip to content

Commit 5f18e96

Browse files
committed
Revert "Revert "Undo warning for paths with "/"""
This reverts commit 8e0b25c.
1 parent 9ae0f03 commit 5f18e96

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)