https://bugzilla.wikimedia.org/show_bug.cgi?id=58934
--- Comment #4 from Sam Reed (reedy) <[email protected]> --- [13:34:55] <matanya> The IP address (2A02:2498:E003:68:225:90FF:FE88:4840) you entered is invalid. Please note that you cannot enter a user name! 'globalblocking-block-ipinvalid' => 'The IP address ($1) you entered is invalid. Please note that you cannot enter a user name!', $ip = IP::sanitizeIP( $address ); ... if ( !IP::isIPAddress( $ip ) ) { // Invalid IP address. $errors[] = array( 'globalblocking-block-ipinvalid', $ip ); } reedy@tin:/a/common$ mwscript eval.php metawiki > $ip = '2A02:2498:E003:68:225:90FF:FE88:4840'; > $ip = IP::sanitizeIP( $ip ); > var_dump( $ip, IP::isIPAddress( $ip ) ); string(36) "2A02:2498:E003:68:225:90FF:FE88:4840" bool(true) -- You are receiving this mail because: You are the assignee for the bug. You are on the CC list for the bug. _______________________________________________ Wikibugs-l mailing list [email protected] https://lists.wikimedia.org/mailman/listinfo/wikibugs-l
