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.
\r
\n
1 parent 04cfff8 commit decfdbdCopy full SHA for decfdbd
kubernetes-orchestrator-extension/Jobs/JobBase.cs
@@ -1233,7 +1233,7 @@ protected string getK8SStorePassword(V1Secret certData)
1233
var storePassword = Encoding.UTF8.GetString(storePasswordBytes);
1234
Logger.LogTrace("K8S Store Password show new lines: {StorePassword}", storePassword.Replace("\n","\\n"));
1235
// remove any trailing new line characters from the string
1236
- storePassword = storePassword.TrimEnd('\n');
+ storePassword = storePassword.TrimEnd('\r','\n');
1237
Logger.LogTrace("Store password bytes converted to string: {StorePassword}",
1238
storePassword); //TODO: INSECURE COMMENT OUT
1239
Logger.MethodExit();
0 commit comments