mirror of
https://github.com/phpbb/phpbb.git
synced 2025-07-06 01:58:52 +00:00
git-svn-id: file:///svn/phpbb/branches/phpBB-3_0_0@9480 89ea8834-ac86-4346-8a33-228a782c2dd0
This commit is contained in:
parent
cc71622def
commit
696aff3169
1 changed files with 1 additions and 1 deletions
|
@ -1393,7 +1393,7 @@ class session
|
|||
$host = htmlspecialchars($this->host);
|
||||
$ref = substr($this->referer, strpos($this->referer, '://') + 3);
|
||||
|
||||
if (!(stripos($ref, $host) === 0))
|
||||
if (!(stripos($ref, $host) === 0) && (!$config['force_server'] || !(stripos($ref, $config['server_name']) === 0)))
|
||||
{
|
||||
return false;
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue