Skip to content

Commit

Permalink
Fix allow mode nested array bug and double step over
Browse files Browse the repository at this point in the history
  • Loading branch information
breus committed Dec 29, 2023
1 parent 9380fc6 commit 8872809
Showing 1 changed file with 1 addition and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -41,11 +41,7 @@ public KeyContainsMasker(JsonMaskingConfig maskingConfig) {
this.maskingConfig = maskingConfig;
this.targetKeysTrie = new ByteTrie(!maskingConfig.caseSensitiveTargetKeys());
for (String key : maskingConfig.getTargetKeys()) {
if (maskingConfig.caseSensitiveTargetKeys()) {
this.targetKeysTrie.insert(key);
} else {
this.targetKeysTrie.insert(key.toLowerCase());
}
this.targetKeysTrie.insert(key);
}
}

Expand Down

0 comments on commit 8872809

Please sign in to comment.