modify url string(add space both ends)