mirror of
https://github.com/phpbb/phpbb.git
synced 2025-06-05 14:04:57 +02:00
[ticket/16503] Fix WhoIs lookup
PHPBB3-16503
This commit is contained in:
parent
c66dd87f68
commit
555624decf
@ -1470,6 +1470,9 @@ function user_ipwhois($ip)
|
|||||||
|
|
||||||
$ipwhois = '';
|
$ipwhois = '';
|
||||||
|
|
||||||
|
// Limit the query to all possible flags (whois.arin.net)
|
||||||
|
$ip = 'z ' . $ip;
|
||||||
|
|
||||||
if (($fsk = @fsockopen($whois_host, 43)))
|
if (($fsk = @fsockopen($whois_host, 43)))
|
||||||
{
|
{
|
||||||
// CRLF as per RFC3912
|
// CRLF as per RFC3912
|
||||||
|
Loading…
x
Reference in New Issue
Block a user