From af6eebaa1a49a7365a3a56322d05854db3ddcb23 Mon Sep 17 00:00:00 2001 From: 3D-I <480857+3D-I@users.noreply.github.com> Date: Tue, 2 Jun 2020 13:33:46 +0200 Subject: [PATCH] [ticket/16508] Fix WhoIs lookup PHPBB3-16508 --- phpBB/includes/functions_user.php | 1 + 1 file changed, 1 insertion(+) diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php index 9e136cc1ff..495f0dcacb 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -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)) {