https://bugzilla.wikimedia.org/show_bug.cgi?id=35738

       Web browser: ---
             Bug #: 35738
           Summary: IP Zone issue
           Product: MediaWiki
           Version: 1.18.2
          Platform: All
        OS/Version: All
            Status: UNCONFIRMED
          Severity: blocker
          Priority: Unprioritized
         Component: General/Unknown
        AssignedTo: [email protected]
        ReportedBy: [email protected]
    Classification: Unclassified
   Mobile Platform: ---


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; }

-- 
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- 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

Reply via email to