mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-23 13:46:48 +00:00
Add test case for space around - in IP range
Change-Id: Ie4563a0b150a95a7c460f4f46066fd79a3b7f2fd
This commit is contained in:
parent
d96f0ea3f2
commit
4f9982fe4e
|
@ -8,6 +8,7 @@ ip_in_range( '55.55.55.55', '55.55.0.0/16' ) === true &
|
|||
ip_in_range( '123.123.123.123', '123.123.123.123/32' ) === true &
|
||||
ip_in_range( '123.123.123.123', '123.123.123.123' ) === true &
|
||||
ip_in_range( '123.123.123.123', '123.0.0.0-124.0.0.0' ) === true &
|
||||
ip_in_range( '123.123.123.123', '123.0.0.0 - 124.0.0.0' ) === true &
|
||||
ip_in_range( '123.123.123.123', '123.123.123.0-123.123.123.255' ) === true &
|
||||
ip_in_range( '123.123.123.123', '125.0.0.0-124.0.0.0' ) === false &
|
||||
ip_in_range( '11.11.11.11', '11.11.11.1' ) === false &
|
||||
|
|
Loading…
Reference in a new issue