ReAdd getRedirectionUrl abstraction which was lost in commit f48cc28fcc056b6c3708e038602037abc9cc3cad