aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/includes/functions_user.php
diff options
context:
space:
mode:
authorAndreas Fischer <bantu@phpbb.com>2015-06-21 21:53:03 +0200
committerAndreas Fischer <bantu@phpbb.com>2015-06-21 21:53:03 +0200
commit759eb2921596852bd595e2e4b02f40ca4b3f2dcf (patch)
tree36c18a7803fcbb8c32645d23d98acff68fc0183a /phpBB/includes/functions_user.php
parent4aba193131fdf2c94ccf1b73df1d9602d5b4f95a (diff)
parentabf98f92e632eaa130dcffb7829bdee1e5b516f1 (diff)
downloadforums-759eb2921596852bd595e2e4b02f40ca4b3f2dcf.tar
forums-759eb2921596852bd595e2e4b02f40ca4b3f2dcf.tar.gz
forums-759eb2921596852bd595e2e4b02f40ca4b3f2dcf.tar.bz2
forums-759eb2921596852bd595e2e4b02f40ca4b3f2dcf.tar.xz
forums-759eb2921596852bd595e2e4b02f40ca4b3f2dcf.zip
Merge branch '3.1.x'
* 3.1.x: [ticket/13948] Correctly forwarding to the RIR for whois feature
Diffstat (limited to 'phpBB/includes/functions_user.php')
-rw-r--r--phpBB/includes/functions_user.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/phpBB/includes/functions_user.php b/phpBB/includes/functions_user.php
index b0f58ba680..45263ad018 100644
--- a/phpBB/includes/functions_user.php
+++ b/phpBB/includes/functions_user.php
@@ -1420,7 +1420,7 @@ function user_ipwhois($ip)
$match = array();
// Test for referrals from $whois_host to other whois databases, roll on rwhois
- if (preg_match('#ReferralServer: whois://(.+)#im', $ipwhois, $match))
+ if (preg_match('#ReferralServer:[\x20]*whois://(.+)#im', $ipwhois, $match))
{
if (strpos($match[1], ':') !== false)
{