diff --git a/app/requests.ts b/app/requests.ts index a37feaf06..7646f05db 100644 --- a/app/requests.ts +++ b/app/requests.ts @@ -43,7 +43,7 @@ function getHeaders() { } export function validUser(signature: String) { - return fetch(`//uc.zhiketong.net/api/check_user_white/?signature=${signature}`) + return fetch(`//uc.zhiketong.net/api/check_user_white/?signature=${window.encodeURIComponent(`${signature}`)}`) .then((response) => response.json()) .then((data) => { return {