diff --git a/src/core/handles/RemoteHandle.ts b/src/core/handles/RemoteHandle.ts index a6d05e8..0457869 100644 --- a/src/core/handles/RemoteHandle.ts +++ b/src/core/handles/RemoteHandle.ts @@ -231,7 +231,7 @@ namespace OS { */ export function readfile(p: string, t: string): Promise { const path = `${API.REST}/VFS/get/`; - return API.get(path + p, t); + return API.get(path + encodeURIComponent(p), t); } /**