Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[2 of 2]: filter::parse_spec() ignore bogon empty, blank substrings
Fix issue demonstrated by unit tests in commit 2ff2bf1. While parsing comma-separated substrings, parse_spec() now trims the values to ensure empty and blank substrings (which are invalid) are ignored. Previously, only-comma-separated empty substrings were being ignored. This change extends that intent to also ignore the empty string (no comma), stand-alone blank strings (no comma), and comma- separated variations of empty and/or blank substrings.
- Loading branch information