Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-9534

user_ipwhois() does not support IPv6 addresses

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.0.8-RC1
    • 3.0.7-PL1
    • None
    • None

      As per title. function user_ipwhois() lacks support for IPv6 addresses.

      // Check IP
      // Only supporting IPv4 at the moment...
      if (empty($ip) || !preg_match(get_preg_expression('ipv4'), $ip))
      {
      	return '';
      }
      

            bantu Andreas Fischer [X] (Inactive)
            bantu Andreas Fischer [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved: