Url encode link path in case string contains chars like spaces etc