Vii-2668: Extra slash between domain and directory in redirected URL

Added a check & remove in there if there are additional slashes before redirect. 

Ticket: https://ngjira.nationalgeographic.com/browse/VII-2668