Dirty hack to generate urls with URI-escaped parameters.