Skip to content

Commit

Permalink
BUGFIX: Respect inactive domains
Browse files Browse the repository at this point in the history
  • Loading branch information
Stefan Bruggmann authored and gerhard-boden committed Nov 16, 2017
1 parent a43f8b3 commit 037d77e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions Classes/Service/NodeRedirectService.php
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,9 @@ protected function getHostnames(ContentContext $contentContext)
foreach ($site->getDomains() as $domain) {
/** @var Domain $domain */
$domains[] = $domain->getHostname();
if ($domain->getActive()) {
$domains[] = $domain->getHostPattern();
}
}
}
return $domains;
Expand Down

0 comments on commit 037d77e

Please sign in to comment.