Skip to content

Commit

Permalink
Convert '/' to '\' in query strings
Browse files Browse the repository at this point in the history
  • Loading branch information
zachrammell committed Aug 13, 2020
1 parent 9b1e3d2 commit 9eaed68
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Wox/ViewModel/MainViewModel.cs
Original file line number Diff line number Diff line change
Expand Up @@ -446,7 +446,8 @@ private void QueryResults()

ProgressBarVisibility = Visibility.Hidden;

var queryText = QueryText.Trim();
// support unix-style path separators
var queryText = QueryText.Trim().Replace("/", "\\");
Task.Run(() =>
{
if (!string.IsNullOrEmpty(queryText))
Expand Down

0 comments on commit 9eaed68

Please sign in to comment.