Fix an issue with relative urls.