mirror of
https://github.com/Flow-Launcher/Flow.Launcher.git
synced 2026-03-11 08:54:32 +00:00
fix #249 Characters not being properly escaped in Python plugins
This commit is contained in:
parent
6d3f3985a2
commit
6b6ab5e752
1 changed files with 3 additions and 3 deletions
|
|
@ -89,9 +89,9 @@ namespace Wox.Core.Plugin
|
|||
|
||||
private string RepalceEscapes(string str)
|
||||
{
|
||||
return str.Replace(@"\", @"\\") //Escapes in ProcessStartInfo
|
||||
.Replace(@"\", @"\\"); //Escapes itself when passed to client
|
||||
//todo: replace "
|
||||
return str.Replace(@"\", @"\\") //Escapes in ProcessStartInfo
|
||||
.Replace(@"\", @"\\") //Escapes itself when passed to client
|
||||
.Replace(@"""", @"\\""""");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue