Replace double dots in url