[refactor] url encode