Define explode limit when removing port
This commit is contained in:
parent
2bf4812947
commit
1fa549886f
|
@ -258,7 +258,7 @@ class Subsite extends DataObject
|
|||
}
|
||||
|
||||
// Remove ports, we aren't concerned with them in terms of detecting subsites via domains
|
||||
$hostParts = explode(':', $host);
|
||||
$hostParts = explode(':', $host, 2);
|
||||
$host = reset($hostParts);
|
||||
|
||||
$matchingDomains = null;
|
||||
|
|
Loading…
Reference in New Issue