ezsystems/ezpublish-legacy — pull request #899 by joaoinacio (2014-03-06 12:35:18+00:00)
Title: Fix EZP-22446: redirect fails due to port eZSys::hostname()

JIRA: https://jira.ez.no/browse/EZP-22446

When using port in url, the host check by AllowedRedirectHosts will fail as the port is included in eZSys::hostname()

This fixes it so that only the actual hostname is returned.