[ticket/16508] Fix WhoIs lookup

PHPBB3-16508
This commit is contained in:
3D-I 2020-06-02 13:33:46 +02:00 committed by Marc Alexander
parent f8acf53f72
commit af6eebaa1a
No known key found for this signature in database
GPG key ID: 50E0D2423696F995

View file

@ -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))
{