Skip to content

Commit

Permalink
ensure that tenantId is an empty guid
Browse files Browse the repository at this point in the history
  • Loading branch information
scbedd committed Apr 24, 2024
1 parent 098b92b commit 5a1c65a
Showing 1 changed file with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,8 @@ public SanitizerDictionary() {
*
* */

private const string EMPTYGUID = "00000000-0000-0000-0000-000000000000";

public List<RegisteredSanitizer> DefaultSanitizerList = new List<RegisteredSanitizer>
{
#region GeneralRegex
Expand Down Expand Up @@ -454,7 +456,7 @@ public SanitizerDictionary() {
"AZSDK3442"
),
new RegisteredSanitizer(
new BodyKeySanitizer("$..tenantId"),
new BodyKeySanitizer("$..tenantId", value: EMPTYGUID),
"AZSDK3443"
),
new RegisteredSanitizer(
Expand Down

0 comments on commit 5a1c65a

Please sign in to comment.