Skip to content

Commit

Permalink
runtime-v2: ignore empty string as sensitive data (#871)
Browse files Browse the repository at this point in the history
  • Loading branch information
brig authored Feb 12, 2024
1 parent 04bbe85 commit 0f28796
Showing 1 changed file with 4 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,10 @@ public boolean empty() {
}

public void add(String sensitiveData) {
if (sensitiveData == null || sensitiveData.isBlank()) {
return;
}

this.sensitiveData.add(sensitiveData);
}

Expand Down

0 comments on commit 0f28796

Please sign in to comment.