内核更新
This commit is contained in:
@@ -268,7 +268,7 @@ class Url
|
||||
$host = $request->host();
|
||||
$rootDomain = substr_count($host, '.') > 1 ? substr(strstr($host, '.'), 1) : $host;
|
||||
}
|
||||
if (!strpos($domain, $rootDomain)) {
|
||||
if (substr_count($domain, '.') < 2 && !strpos($domain, $rootDomain)) {
|
||||
$domain .= '.' . $rootDomain;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user