url encoding for site_client