Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Fixes issue with not recognizing IP ranges in the do not track list #7388
Please be sure you are submitting this against the staging branch.
When using IP ranges in the list of IPs to not track in Mautic's configuration (i.e. 18.104.22.168/12), Mautic used the blocked IP to compare against itself so the given IP was never detected as not trackable. This fixes that and includes unit tests for each of the supported scenarios.
Steps to reproduce the bug:
Steps to test this PR: