aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--phpBB/includes/functions_user.php3
1 files changed, 3 insertions, 0 deletions
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))
{