{"draft":null,"from":0,"to":1,"files":[{"path":"client/src/core.ts","added":2,"removed":0,"diff":"--- a/client/src/core.ts\n+++ b/client/src/core.ts\n@@ -161,6 +161,8 @@\n \tif (o === undefined) return false;\n \tconst host = o.replace(/^https?:\\/\\//, \"\").replace(/:\\d+$/, \"\");\n \tif (host === \"localhost\" || host === \"127.0.0.1\" || host === \"[::1]\") return true;\n+\t// Off this machine only https: a token over plain http goes in clear text (Security, 608).\n+\tif (!o.startsWith(\"https://\")) return false;\n \treturn [...TOKEN_SERVERS, ...(trusted ?? \"\").split(\",\")].some((t) => t.trim() !== \"\" && origin(t) === o);\n }\n "}],"unmatched":[]}