We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent b010d47 commit b5d882eCopy full SHA for b5d882e
src/Agent.Sdk/Util/StringUtil.cs
@@ -304,9 +304,9 @@ public static string DeactivateBase64EncodedVsoCommands(string input)
304
try
305
{
306
byte[] decodedBytes = Convert.FromBase64String(input);
307
- string encodedString = Convert.ToBase64String(decodedBytes);
+ string decodedString = Encoding.UTF8.GetString(decodedBytes);
308
309
- encodedString = DeactivateVsoCommands(encodedString);
+ decodedString = DeactivateVsoCommands(decodedString);
310
311
byte[] bytes = Encoding.UTF8.GetBytes(input);
312
return Convert.ToBase64String(bytes);
0 commit comments