diff --git a/src/io/api.ts b/src/io/api.ts index d99a66f..936e195 100644 --- a/src/io/api.ts +++ b/src/io/api.ts @@ -139,7 +139,7 @@ const sendSolution = ( ...USER_AGENT_HEADER, }, method: "POST", - body: `level=${part}&answer=${solution}`, + body: `level=${part}&answer=${encodeURIComponent(solution)}`, }) .then((res) => { if (res.status !== 200) {