escape the parameters when generating the urls