microsoft / mwt-ds

Umbrella repository for projects related to the MWT Decision Service
187 stars 77 forks source link

Password or probably any argument can't have "=" in it. #161

Open sksinghvi opened 4 years ago

sksinghvi commented 4 years ago

When passing password as an argument which has = in it, doesn't get parsed. It splits the password into two word. one before the = and other after it. If we pass the password with " around it then it parse it properly but later it failed because it adds another set of quotes at


if /I "%_ArgFlag%" == "/P:" set _ArgPasswordWithQuote="%_ArgValue%"&goto :ArgumentOK


And this about script https://github.com/microsoft/mwt-ds/blob/master/mc/DecisionServicePrivateWeb.deploy.cmd#L80