We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e8059d3 commit 4e7b654Copy full SHA for 4e7b654
frontend/src/views/host/file-management/terminal/index.vue
@@ -55,7 +55,7 @@ const initTerm = async (cwd: string) => {
55
await nextTick();
56
terminalRef.value!.acceptParams({
57
endpoint: '/api/v2/hosts/terminal',
58
- args: `command=${encodeURIComponent(`clear && cd ${cwd}`)}`,
+ args: `command=${encodeURIComponent(`clear && cd "${cwd}"`)}`,
59
error: '',
60
initCmd: '',
61
});
0 commit comments