Reference url gets escaped