From 7af9f26aae096f77353f5b0665d0231ec1e29fba Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E2=80=9C=E5=BC=A0=E5=98=89=E5=AE=81=E2=80=9D?= <“zhangjianing@zhiketong.cn”> Date: Tue, 4 Apr 2023 10:58:00 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E7=BC=96=E7=A0=81=E7=AD=BE=E5=90=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/requests.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 {