From 209e01140490986099f1f72479fd119889e322ae Mon Sep 17 00:00:00 2001 From: Bruno Quaresma Date: Tue, 6 Sep 2022 12:16:03 -0300 Subject: [PATCH] fix: Escape # character on appName (#3895) --- 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 d9df2a6fa2..5429e31668 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 (