Define explode limit when removing port

This commit is contained in:
Robbie Averill 2018-10-20 23:15:32 +02:00
parent 2bf4812947
commit 1fa549886f
1 changed files with 1 additions and 1 deletions

View File

@ -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;