-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Created Fuzzing against Jackson and fixed multiple small bugs found with ti #28
Conversation
…ke the actual masker
if (maskingConfig.caseSensitiveTargetKeys()) { | ||
this.targetKeysTrie.insert(key); | ||
} else { | ||
this.targetKeysTrie.insert(key.toLowerCase()); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This shouldn't be necessary - trie already converts to lowercase/uppercase on prowler character basis, did it not work?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
@gavlyukovskiy I think you are right, I just did this to replace:
if (!caseSensitiveTargetKeys) {
targets = targets.stream().map(String::toLowerCase).collect(Collectors.toSet());
}
targetKeys = targets;
Probably you forgot to remove that while introducing ByteTrie?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Left one comment, but otherwise LGTM 👍
Quality Gate passedKudos, no new issues were introduced! 0 New issues |
No description provided.