Skip to content

Commit

Permalink
fix: command string for windows protocol handler (#32953)
Browse files Browse the repository at this point in the history
  • Loading branch information
deepak1556 committed Feb 21, 2022
1 parent 9d72c8b commit bdad633
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion shell/browser/browser_win.cc
Expand Up @@ -67,7 +67,7 @@ bool GetProtocolLaunchPath(gin::Arguments* args, std::wstring* exe) {
std::vector<std::wstring> 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;
Expand Down

0 comments on commit bdad633

Please sign in to comment.