From faa0294f5c29fa10800f94677c21b7180d9b3da4 Mon Sep 17 00:00:00 2001 From: Andrii Chubatiuk Date: Thu, 13 Oct 2022 04:03:53 +0300 Subject: [PATCH] fix: fixed url encoded link template (#9792) Signed-off-by: Andrii Chubatiuk Co-authored-by: Andrii Chubatiuk --- ui/src/app/shared/components/links.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ui/src/app/shared/components/links.tsx b/ui/src/app/shared/components/links.tsx index bd59d4155ff7..c6d1092ebd3f 100644 --- a/ui/src/app/shared/components/links.tsx +++ b/ui/src/app/shared/components/links.tsx @@ -47,7 +47,7 @@ export const Links = ({scope, object, button}: {scope: string; object: {metadata }, []); const formatUrl = (url: string) => { - return ProcessURL(url, object); + return encodeURI(ProcessURL(decodeURI(url), object)); }; const openLink = (url: string) => {