mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-31 05:50:42 +02:00
[ticket/16508] Fix WhoIs lookup
PHPBB3-16508
This commit is contained in:
@@ -1473,6 +1473,7 @@ function user_ipwhois($ip)
|
||||
if (($fsk = @fsockopen($whois_host, 43)))
|
||||
{
|
||||
// CRLF as per RFC3912
|
||||
// Z to limit the query to all possible flags (whois.arin.net)
|
||||
fputs($fsk, "z $ip\r\n");
|
||||
while (!feof($fsk))
|
||||
{
|
||||
|
Reference in New Issue
Block a user