Fix: fetch remote acct data

This commit is contained in:
cutls 2019-11-18 01:08:55 +09:00
parent 2936bd1e5a
commit eda554eb8f

View File

@ -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: {