GRAILS-9504 - improve url conversion in the forward method