Skip to content

Commit 2717734

Browse files
authored
Fix issue (#596)
1 parent 9648f5c commit 2717734

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

frontend/src/hooks/useNavigateWithSearchParams.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ const useNavigateWithSearchParams = () => {
1919
let prefixedUrl = url;
2020

2121
if (!clusterMode) {
22-
prefixedUrl = `/${context}${url}`;
22+
prefixedUrl = `/${encodeURIComponent(context)}${url}`;
2323
}
2424
navigate(`${prefixedUrl}${search}`, ...restArgs);
2525
};

0 commit comments

Comments
 (0)