You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
chrlauncher.exe --user-agent="Mozilla/5.0 (Linux; Android 8.0.0; SM-G960F Build/R16NW) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/62.0.3202.84 Mobile Safari/537.36"
Will run: --user-agent=Mozilla/5.0 Which fails because will report only Mozilla/5.0 to websites because chrlauncher is not passing the whole string along with quotes.
Try to run chrlauncher with spaced and quoted argument:
chrlauncher.exe --profile-directory="Profile 5"
And chrome will get it as:
chrome.exe --profile-directory=Profile 5
Because CommandLineToArgvW unquotes arguments (main.cpp line 245)
But we don't quote again on arguments building (main.cpp line 291)
Let's add quotting with replacing line 291:
_r_str_cat (pbi->args, _countof (pbi->args), arga[i]);
TO
Additionally, it is good to add check for space and quote-symbol present in processing argument.
P.S. Sorry for mistake, I am on way, so I can't to check a code
The text was updated successfully, but these errors were encountered: