GRAILS-11512 - improve the handling of URL mappings which contain hyphens