Hostname route should throw an exception if route definition contains disallowed character
Fixes #5656
Alter result check based on feedback from @Ocramius and @Pittiplatsch
Merge branch 'hotfix/#6870-disallow-hostname-routes-with-underscores-in-route-definition' into develop

Close #6870