mirror of
https://github.com/coder/coder.git
synced 2026-09-24 15:04:27 +08:00
fix: Escape # character on appName (#3895)
This commit is contained in:
@@ -26,7 +26,7 @@ export const AppLink: FC<PropsWithChildren<AppLinkProps>> = ({
|
||||
appIcon,
|
||||
}) => {
|
||||
const styles = useStyles()
|
||||
const href = `/@${userName}/${workspaceName}.${agentName}/apps/${appName}`
|
||||
const href = `/@${userName}/${workspaceName}.${agentName}/apps/${encodeURIComponent(appName)}`
|
||||
|
||||
return (
|
||||
<Link
|
||||
|
||||
Reference in New Issue
Block a user