Fix for hostname in url helper