ReAdd getRedirectionUrl abstraction

I would like to add a test as well to make sure this change is not lost again, but I'm not sure how to do that yet.

...56b6c3708e038602037abc9cc3cad