Encode url with space to %20