Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-9534

user_ipwhois() does not support IPv6 addresses

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed (View Workflow)
    • Minor
    • Resolution: Fixed
    • 3.0.7-PL1
    • 3.0.8-RC1
    • None
    • None

    Description

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

      Attachments

        Activity

          People

            bantu Andreas Fischer
            bantu Andreas Fischer
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: