Added trim to url.