fixes #3661 - mis-redirection from /hosts/fqdn/edit to /hosts
(cherry picked from commit 625e5c7bef437a25c874195e1e1f938ff9ab5e2c)
fixes #3661 - mis-redirection from /hosts/fqdn/edit to /hosts
(cherry picked from commit 625e5c7bef437a25c874195e1e1f938ff9ab5e2c)