Page MenuHomePhabricator

IPv6 range blocks are not listed when using bkip parameter in API
Closed, ResolvedPublic

Description

For example 2001:41d0::/40 is blocked in fa.wiki. But when trying to check this using api, the block is not listed:
http://fa.wikipedia.org/w/api.php?action=query&list=blocks&bkip=2001:41D0:0:0:0:0:0:0/40
or
http://fa.wikipedia.org/w/api.php?action=query&list=blocks&bkip=2001:41d0::/40

However individual ips in this range are correctly shown as blocked:
http://fa.wikipedia.org/w/api.php?action=query&list=blocks&bkip=2001:41d0::1

Expected behavior:
Ipv6 range blocks should be listed the same way as IPv4s are:
http://fa.wikipedia.org/w/api.php?action=query&list=blocks&bkip=94.242.192.0/18


Version: 1.22.0
Severity: normal

Details

Reference
bz48129

Event Timeline

bzimport raised the priority of this task from to High.Nov 22 2014, 1:41 AM
bzimport set Reference to bz48129.

Related URL: https://gerrit.wikimedia.org/r/62445 (Gerrit Change I02471bb32c3a217004d07a79d9f98b62133b31ef)