Last modified: 2013-10-23 18:17:04 UTC
I encountered a similar error in v1.18.2 While support for IPv6 was added, support for the IP zone was not, for my application, I simply trimmed the zone information off as follows: line 659+ in /includes/IP.php: public static function canonicalize( $addr ) { $addr = preg_replace('/\%.*/i',,$addr); #line I added to remove zone info if ( self::isValid( $addr ) ) { return $addr; }
$addr = preg_replace('/\%.*/i','',$addr); #line I added to remove zone info prev dropped some quotes on copy
Nick, would you be interested in suggesting your change via our source control system? https://www.mediawiki.org/wiki/How_to_become_a_MediaWiki_hacker
Submitted to gerrit as Icccf1097
thanks daniel.
Patch merged. Thanks!