aboutsummaryrefslogtreecommitdiffstats
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
commitabf98f92e632eaa130dcffb7829bdee1e5b516f1 (patch)
treeb823641e52eb471d6d2b60c61e4c741b82a0a946
parentda7b24449d1767e4afec653399aaf2c0db4524a5 (diff)
parentbcac964cd03626e2139e021e3ed0ff63f8c76c67 (diff)
downloadforums-abf98f92e632eaa130dcffb7829bdee1e5b516f1.tar
forums-abf98f92e632eaa130dcffb7829bdee1e5b516f1.tar.gz
forums-abf98f92e632eaa130dcffb7829bdee1e5b516f1.tar.bz2
forums-abf98f92e632eaa130dcffb7829bdee1e5b516f1.tar.xz
forums-abf98f92e632eaa130dcffb7829bdee1e5b516f1.zip
Merge pull request #3722 from rxu/ticket/13948
[ticket/13948] Correctly forwarding to the RIR for whois feature * rxu/ticket/13948: [ticket/13948] Correctly forwarding to the RIR for whois feature
-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 815f07d2e4..c46653db9e 100644
--- a/phpBB/includes/functions_user.php
+++ b/phpBB/includes/functions_user.php
@@ -1402,7 +1402,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)
{