Adds percent encoding to url tokens