From bdad6335c4e18aecbb3c4f3176fc100e542f0477 Mon Sep 17 00:00:00 2001 From: Robo Date: Mon, 21 Feb 2022 16:43:27 +0900 Subject: [PATCH] fix: command string for windows protocol handler (#32953) --- shell/browser/browser_win.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/shell/browser/browser_win.cc b/shell/browser/browser_win.cc index 6cfc75f4a44ba..56a62ac32548f 100644 --- a/shell/browser/browser_win.cc +++ b/shell/browser/browser_win.cc @@ -67,7 +67,7 @@ bool GetProtocolLaunchPath(gin::Arguments* args, std::wstring* exe) { std::vector launch_args; if (args->GetNext(&launch_args) && !launch_args.empty()) *exe = base::StringPrintf(L"\"%ls\" \"%ls\" \"%%1\"", exe->c_str(), - base::JoinString(launch_args, L" ").c_str()); + base::JoinString(launch_args, L"\" \"").c_str()); else *exe = base::StringPrintf(L"\"%ls\" \"%%1\"", exe->c_str()); return true;