Page MenuHomePhabricator

MediaWiki:Anontalkpagetext appears on non-existant IP addresses
Closed, ResolvedPublic

Description

Author: nickmcclendon

Description:
The MediaWiki:Anontalkpagetext (http://en.wikipedia.org/wiki/MediaWiki:Anontalkpagetext) appears on all IP address-like usernames up to 999.999.999.999 even though none above 255.255.255.255 are actually valid IP addresses.


Version: unspecified
Severity: enhancement
URL: http://en.wikipedia.org/wiki/User_talk:999.999.999.999

Details

Reference
bz13736

Event Timeline

bzimport raised the priority of this task from to Lowest.Nov 21 2014, 10:06 PM
bzimport set Reference to bz13736.
bzimport added a subscriber: Unknown Object (MLST).

The underlying bug here is that User::isIP() returns true for all strings that match the regex /\d{1,3}\.\d{1,3}\.\d{1,3}\.\d{1,3}/