jabbera / my-vsts-tasks

20 stars 18 forks source link

Fixed invalid arguments when has special characters in servicePassword #24

Closed xamele0n closed 6 years ago

xamele0n commented 6 years ago

Fix for issue #23

xamele0n commented 6 years ago

This fix works for me, but i am not sure that it was not conflicts with that

$servicePassword = $servicePassword.Replace('', '``').Replace('"', '"').Replace('$', '$').Replace('&', '&').Replace('''', '''').Replace('(','(').Replace(')',')').Replace('@','@').Replace('}','}').Replace('{','{')