Skip to content
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

Replace blacklist_ with exclude_ in config keys and error messages #62

Open
ogarrett opened this issue Jul 5, 2022 · 0 comments
Open
Assignees

Comments

@ogarrett
Copy link
Contributor

ogarrett commented Jul 5, 2022

For diversity/inclusion reasons, replace 'blacklist' with 'exclude':

Config keys:

  • blacklisted_strings
  • blacklisted_extensions
  • blacklisted_paths
  • blacklisted_entropy_extensions

Error messages:

  • "Blacklisted string %s matched"
  • "matchString: Skipping matches containing blacklisted strings"
  • "processHsRegexMatch: Skipping matches containing blacklisted strings"

If possible, retain the blacklist_* config keys for backwards compatibility, using them as undocumented aliases for the equivalent exclude_ keys.

@ibreakthecloud ibreakthecloud self-assigned this Sep 29, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants