Encode the query params only.