Fix formatting of urls having an other url as parameter