From 6c38ee10bd9ba88318d8501ecd6f6e4233612d21 Mon Sep 17 00:00:00 2001 From: Chris Smith Date: Sat, 7 Feb 2009 21:08:28 +0000 Subject: [PATCH] Small addition to r3915, add comments about RFC git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9317 89ea8834-ac86-4346-8a33-228a782c2dd0 --- phpBB/includes/functions_user.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php index b38f7a049e..a65ba9f6e3 100644 --- a/phpBB/includes/functions_user.php +++ b/phpBB/includes/functions_user.php @@ -1139,6 +1139,8 @@ function user_unban($mode, $ban) /** * Whois facility +* +* @link http://tools.ietf.org/html/rfc3912 RFC3912: WHOIS Protocol Specification */ function user_ipwhois($ip) { @@ -1153,6 +1155,7 @@ function user_ipwhois($ip) if (($fsk = @fsockopen('whois.arin.net', 43))) { + // CRLF as per RFC3912 fputs($fsk, "$ip\r\n"); while (!feof($fsk)) {