Merge branch 'dev' of https://github.com/qianlifeng/Wox into dev

This commit is contained in:
qianlifeng
2014-09-19 17:26:28 +08:00
4 changed files with 18 additions and 14 deletions

View File

@@ -1,4 +1,4 @@
using System;
using System;
using System.Collections.Generic;
using System.Diagnostics;
using System.IO;
@@ -42,7 +42,7 @@ namespace Wox.Plugin.SystemPlugins
IcoPath = webSearch.IconPath,
Action = (c) =>
{
Process.Start(webSearch.Url.Replace("{q}", keyword));
Process.Start(webSearch.Url.Replace("{q}", Uri.EscapeDataString(keyword)));
return true;
}
}
@@ -66,7 +66,7 @@ namespace Wox.Plugin.SystemPlugins
IcoPath = webSearch.IconPath,
Action = (c) =>
{
Process.Start(webSearch.Url.Replace("{q}", o));
Process.Start(webSearch.Url.Replace("{q}", Uri.EscapeDataString(o)));
return true;
}
}).ToList());