Fixed issue with '../' in urls