Fix redirect issue on iOS
Merge pull request #3677 from nicolaasmatthijs/issue-3677

Redirect issue on iOs