Transform base url to an absoulte url.

So you can pass relative urls.