fixes #3661 - mis-redirection from /hosts/fqdn/edit to /hosts