Update Base64 Encoders to deal with suffixes (#284)

* Update Base64 Encoders to deal with suffixes

* Set UriDataEscape to public for unit tests
This commit is contained in:
Thomas Boop
2020-01-27 21:38:31 -05:00
committed by Tingluo Huang
parent b676ab3d33
commit c45aebc9ab
3 changed files with 43 additions and 7 deletions

View File

@@ -83,6 +83,7 @@ namespace GitHub.Runner.Common
_loadContext.Unloading += LoadContext_Unloading;
this.SecretMasker.AddValueEncoder(ValueEncoders.Base64StringEscape);
this.SecretMasker.AddValueEncoder(ValueEncoders.Base64StringEscapeTrimmed);
this.SecretMasker.AddValueEncoder(ValueEncoders.Base64StringEscapeShift1);
this.SecretMasker.AddValueEncoder(ValueEncoders.Base64StringEscapeShift2);
this.SecretMasker.AddValueEncoder(ValueEncoders.ExpressionStringEscape);