Skip to content

Commit 450b886

Browse files
[v3.x] Update sanitizer for supporting new scenario. (#9507)
* update sanitizer * remove unnecesary sanitizing.
1 parent 636182f commit 450b886

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/WebJobs.Script/Sanitizer.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ internal static class Sanitizer
1616

1717
// List of keywords that should not be replaced with [Hidden Credential]
1818
private static readonly string[] AllowedTokens = new string[] { "PublicKeyToken=" };
19-
internal static readonly string[] CredentialTokens = new string[] { "Token=", "DefaultEndpointsProtocol=http", "AccountKey=", "Data Source=", "Server=", "Password=", "pwd=", "&sig=", "&sig=", "SharedAccessKey=" };
19+
internal static readonly string[] CredentialTokens = new string[] { "Token=", "DefaultEndpointsProtocol=http", "AccountKey=", "Data Source=", "Server=", "Password=", "pwd=", "&sig=", "&sig=", "?sig=", "SharedAccessKey=" };
2020

2121
/// <summary>
2222
/// Removes well-known credential strings from strings.

0 commit comments

Comments
 (0)