From eda554eb8fcd9d9e9547f970b62f69e9edf5b2d0 Mon Sep 17 00:00:00 2001 From: cutls Date: Mon, 18 Nov 2019 01:08:55 +0900 Subject: [PATCH] Fix: fetch remote acct data --- app/js/userdata/showOnTL.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/js/userdata/showOnTL.js b/app/js/userdata/showOnTL.js index d5c88c25..03b353d0 100644 --- a/app/js/userdata/showOnTL.js +++ b/app/js/userdata/showOnTL.js @@ -25,7 +25,7 @@ function udgEx(user, acct_id) { return false; } var at = localStorage.getItem("acct_" + acct_id + "_at"); - var start = "https://" + domain + "/api/v2/search?resolve=true&q=" + user; + var start = "https://" + domain + "/api/v2/search?resolve=true&q=" + encodeURIComponent(user); fetch(start, { method: "GET", headers: {