Skip to content

Commit 209e011

Browse files
fix: Escape # character on appName (coder#3895)
1 parent 1f55135 commit 209e011

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

site/src/components/AppLink/AppLink.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ export const AppLink: FC<PropsWithChildren<AppLinkProps>> = ({
2626
appIcon,
2727
}) => {
2828
const styles = useStyles()
29-
const href = `/@${userName}/${workspaceName}.${agentName}/apps/${appName}`
29+
const href = `/@${userName}/${workspaceName}.${agentName}/apps/${encodeURIComponent(appName)}`
3030

3131
return (
3232
<Link

0 commit comments

Comments
 (0)