From 454350dd8a8b419074ccb537a06eb74c08f3726b Mon Sep 17 00:00:00 2001 From: David May <david.leo.may@gmail.com> Date: Fri, 2 Feb 2024 14:46:48 +0100 Subject: [PATCH] [NO-TASK] Fixed KYC redirect --- app/screens/KycScreen.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/screens/KycScreen.tsx b/app/screens/KycScreen.tsx index cb9f5656..0a68280d 100644 --- a/app/screens/KycScreen.tsx +++ b/app/screens/KycScreen.tsx @@ -71,7 +71,7 @@ const KycScreen = ({ settings }: { settings?: AppSettings }) => { let url = `${Environment.services}/kyc?code=${params.code}`; params.headless && (url += "&headless=true"); - params.redirect_uri && (url += `&kyc-redirect=${params.redirect_uri}`); + params.redirect_uri && (url += `&kyc-redirect=${encodeURIComponent(params.redirect_uri)}`); openUrl(url, false); setInputParams(params);