add secret masker for trimming double qoutes. (#440)

This commit is contained in:
Tingluo Huang
2020-04-21 22:07:55 -04:00
committed by GitHub
parent d5c54f9819
commit 3f7a01af93
3 changed files with 20 additions and 0 deletions

View File

@@ -89,6 +89,7 @@ namespace GitHub.Runner.Common
this.SecretMasker.AddValueEncoder(ValueEncoders.JsonStringEscape);
this.SecretMasker.AddValueEncoder(ValueEncoders.UriDataEscape);
this.SecretMasker.AddValueEncoder(ValueEncoders.XmlDataEscape);
this.SecretMasker.AddValueEncoder(ValueEncoders.TrimDoubleQuotes);
// Create the trace manager.
if (string.IsNullOrEmpty(logFile))