From 05112e601922aca367480df85ccaab40f416ea4c Mon Sep 17 00:00:00 2001 From: Bruno Quaresma Date: Tue, 6 Sep 2022 14:33:54 +0000 Subject: [PATCH] fix: Escape # character on appName --- site/src/components/AppLink/AppLink.tsx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/site/src/components/AppLink/AppLink.tsx b/site/src/components/AppLink/AppLink.tsx index d9df2a6fa28f7..5429e316681c2 100644 --- a/site/src/components/AppLink/AppLink.tsx +++ b/site/src/components/AppLink/AppLink.tsx @@ -26,7 +26,7 @@ export const AppLink: FC> = ({ appIcon, }) => { const styles = useStyles() - const href = `/@${userName}/${workspaceName}.${agentName}/apps/${appName}` + const href = `/@${userName}/${workspaceName}.${agentName}/apps/${encodeURIComponent(appName)}` return (