Skip to content

Commit

Permalink
Merge pull request #36 from apache/whitelist-blacklist
Browse files Browse the repository at this point in the history
work as blacklist by default
  • Loading branch information
chickenlj authored Jul 7, 2020
2 parents ae09056 + c30837c commit 6ebfa92
Showing 1 changed file with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,11 @@ private boolean isAllow(String className)
}
}

return false;
if (_isWhitelist) {
return false;
}

return true;
}

public void setWhitelist(boolean isWhitelist)
Expand Down

0 comments on commit 6ebfa92

Please sign in to comment.