Summary
The ContributionsRangeTrait fails to parse a CIDR if it is in the format of X.X.X.X - Y.Y.Y.Y
Steps to replicate the issue
- Open https://en.wikipedia.org/w/index.php?oldid=323185528&title=Wikipedia:Abuse_reports/79.0.0.0_-_79.63.255.255 (or similar page where the page target is considered an IP range using the format X.X.X.X - Y.Y.Y.Y)
What happens?:
A logstash log appears with a PHP warning of Undefined array key 1
What should have happened instead?:
No logstash log should have been created